J
jeff3048
Hi,
I want to incorporate a JavaScript routine (found on the internet) in my
page that will restore the scrollbar position of a div tag on postback. I am
using master pages which complicates things and also want to reference the
script via a ".js" file. Below is the code I have come-up with but it
doesn't work (I get a blank screen). The script is located in the project
folder in the JavaScript folder. Any ideas?
Thanks,
Jeff
Page.RegisterClientScriptBlock("MyScript", "<script
language=javascript src='JavaScript/sscroller.js'>");
I want to incorporate a JavaScript routine (found on the internet) in my
page that will restore the scrollbar position of a div tag on postback. I am
using master pages which complicates things and also want to reference the
script via a ".js" file. Below is the code I have come-up with but it
doesn't work (I get a blank screen). The script is located in the project
folder in the JavaScript folder. Any ideas?
Thanks,
Jeff
Page.RegisterClientScriptBlock("MyScript", "<script
language=javascript src='JavaScript/sscroller.js'>");