js problem
-
hi :) i have a page for image upload and text boxes to along the page using the validator to validate the textboxes. and want to open the my pop window (say successully done - my own page not the ok dialog box). when the image upload successfully. once the user will click ok we need to redirect the parent page another. Any help will really appreciate Regards, Srinandan
-
hi :) i have a page for image upload and text boxes to along the page using the validator to validate the textboxes. and want to open the my pop window (say successully done - my own page not the ok dialog box). when the image upload successfully. once the user will click ok we need to redirect the parent page another. Any help will really appreciate Regards, Srinandan
Hi, Set window.parent.location.href = "newlocation" before you close the dialog window in javascript.. I hope this will help you.
Thanks and Regards, Chetan Ranpariya
-
Hi, Set window.parent.location.href = "newlocation" before you close the dialog window in javascript.. I hope this will help you.
Thanks and Regards, Chetan Ranpariya
thank for response, but first problem is that when we click on the button poup window is appear even the textboxes are blank even i am using the required field validator. once the popup open the then the validator message also appear. i want validate the textboxes if valid then popup should open Thanks in advance. Regards, Srinandan..
-
thank for response, but first problem is that when we click on the button poup window is appear even the textboxes are blank even i am using the required field validator. once the popup open the then the validator message also appear. i want validate the textboxes if valid then popup should open Thanks in advance. Regards, Srinandan..
Hi, You should do this validation in javascript before opening the popup. var val1 = document.getElementById("textbox1").value; var val2 = document.getElementById("textbox2").value; if(val1 != null && val2 != null) { window.Open(); } Dont copy and paste my code coz it may have spelling mistakes.
Thanks and Regards, Chetan Ranpariya
-
Hi, You should do this validation in javascript before opening the popup. var val1 = document.getElementById("textbox1").value; var val2 = document.getElementById("textbox2").value; if(val1 != null && val2 != null) { window.Open(); } Dont copy and paste my code coz it may have spelling mistakes.
Thanks and Regards, Chetan Ranpariya