It happens due to page redirection. READ MORE. Then change this, It’s not working. This concept is different from JavaScript Page Refresh. I’m learning everyday. May 17, 2011 02:00 PM|heldersantos.moreira|LINK.

I also tried passing the PHP variable into the form like so. We are listing down a few of the reasons − You did not like the name of your domain and you are moving to a new one. can you tell me how to call a variable of one javascript function in another javascript function? I am struggling with one last problem which is with the string parameter of my javascript function. Know, how to call javascript function which is present in say one.jsp, from another jsp's (say two.jsp) javascript function. How can i do this?

How will i know on my target window (page2) that i should now check for the value? I have javascript function in php file and i dont want to use external javascript file so that's why your solution is excellent but not satisfied... Peter Leow 12-Mar-14 3:04am Why not? RegisterStartupScript allows you to specify a string for the script. 8+ characters (letters, numbers, and a symbol). Last post May 20, 2011 06:23 AM by heldersantos.moreira, May 17, 2011 12:28 PM|heldersantos.moreira|LINK. You just append if to the script string, just like you append any variable to a string. Have you taken a look at the “View Source” on the PHP page; to verify the ‘address’ was written into the javascript “var” as expected? I’m fairly new at this.
I have Two javascript functions, One Function is in the aspx page and another is in .js file, and when i call the function from js file in aspx page, then it … Privacy Policy and That is the idea I was proposing. Now i am on the code behind of my main page and want to call a javascript function that takes an argument (the one that i have "passed back" on my Session). Ok, from what I understand you have a popup and then want to run a function on the parent (the page that opened that popup). here is the code if needed