query string
-
hi friends i have textbox .how can i pass another page in textbox value using querystring through javascript this my javascript snipt onclick=\"yih_idpop('check.aspx?'); how to add here in my textbox regards saravanan
-
hi friends i have textbox .how can i pass another page in textbox value using querystring through javascript this my javascript snipt onclick=\"yih_idpop('check.aspx?'); how to add here in my textbox regards saravanan
you can do it in serverside code Response.Redirect("'check.aspx?QueryString1=" + TextBox1.Text);
Regards, Sylvester G sylvester_g_m@yahoo.com
-
hi friends i have textbox .how can i pass another page in textbox value using querystring through javascript this my javascript snipt onclick=\"yih_idpop('check.aspx?'); how to add here in my textbox regards saravanan
Try with Response.Redirect("'check.aspx?QueryString1=" + txtBox.Text);
Regards, Satips.:rose:
-
hi friends i have textbox .how can i pass another page in textbox value using querystring through javascript this my javascript snipt onclick=\"yih_idpop('check.aspx?'); how to add here in my textbox regards saravanan
Try This: Assign the redirect() function to the onClick attribute of the button. function redirect() { document.location.href = "check.aspx?t1=" + document.getElementByID("txtName").Value; }
Regards, Arun Kumar.A
-
hi friends i have textbox .how can i pass another page in textbox value using querystring through javascript this my javascript snipt onclick=\"yih_idpop('check.aspx?'); how to add here in my textbox regards saravanan
Hi Freind you can pass the Querystring from javascript in similar you used to pass in server side code ='check.aspx?QueryStringKey=QyerStringValue&QueryStringKey=QueryStringValue Where QueryStringKey -> Key for query string QyerStringValue -> Value that you wan to pass
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
Try with Response.Redirect("'check.aspx?QueryString1=" + txtBox.Text);
Regards, Satips.:rose:
Satips wrote:
You can't do like this.
Why dude we can pass query string using javascript Whats the problem ?
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
Satips wrote:
You can't do like this.
Why dude we can pass query string using javascript Whats the problem ?
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
Hi Sandeep i have corrected it.
Regards, Satips.:rose:
-
Hi Sandeep i have corrected it.
Regards, Satips.:rose:
I thought you were suggesting not to use javascript thats why i asked
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
Hi Freind you can pass the Querystring from javascript in similar you used to pass in server side code ='check.aspx?QueryStringKey=QyerStringValue&QueryStringKey=QueryStringValue Where QueryStringKey -> Key for query string QyerStringValue -> Value that you wan to pass
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
hi this my code if(oBw.ie5||oBw.ns6){document.write("<div id=\"instructions\" style=\"border: 1px solid #708090; background: #fff8dc; padding:4px; width: 200px;margin:0 0 0px 0;display:block\" align=\"center\" designtimesp=17632><input class=\"yihbtn\" type=\"button\" name=\"checkAvail\" value=\"Check Availability of UserName\" style=\"width:15em\" onclick=\"yih_idpop ('check.aspx?QueryString1=' + "txtuname.Text");return false;\" target=\"_blank\"></div>");} it is not working i dont need response.redirct .already i used in popup window regards saravanan
-
hi this my code if(oBw.ie5||oBw.ns6){document.write("<div id=\"instructions\" style=\"border: 1px solid #708090; background: #fff8dc; padding:4px; width: 200px;margin:0 0 0px 0;display:block\" align=\"center\" designtimesp=17632><input class=\"yihbtn\" type=\"button\" name=\"checkAvail\" value=\"Check Availability of UserName\" style=\"width:15em\" onclick=\"yih_idpop ('check.aspx?QueryString1=' + "txtuname.Text");return false;\" target=\"_blank\"></div>");} it is not working i dont need response.redirct .already i used in popup window regards saravanan
Yes i did say you to use Response.Redirect you can do it by using javascript When are this calling this ? Where is the function ? Only you want open a new window with query String value isn't it ?
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
Yes i did say you to use Response.Redirect you can do it by using javascript When are this calling this ? Where is the function ? Only you want open a new window with query String value isn't it ?
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
i need to pass txtbox value onepage to another pop up window
-
i need to pass txtbox value onepage to another pop up window
Take a look now this should help you var textBoxText=document.getElementById("TextBox1").value; window.open('April24.aspx?QueryStrngValue='+textBoxText); put this code in a function call that function when you want to open a new window
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "