Try this

sri sri replied to Lokesh M at 04-Jul-08 10:38
Hi,
Put all the javascript in a js file
and include the js file in your aspx file.

if you write in the js file as
document.getElementById("<%=TxtName.ClientID%>")
this will not work

In this case view the source in the browser and the control id will be displayed as
"ctl00_Cp_System_TxtName"
use that in your script file.


Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  .js file - Lokesh M  04-Jul-08 12:08 12:08:38 PM
      Re: .js File - Ashutosh Dhok  04-Jul-08 12:20 12:20:28 PM
      Re: .js File - Ashutosh Dhok  04-Jul-08 12:20 12:20:36 PM
      Try this - sri sri  04-Jul-08 10:38 10:38:39 PM
      external javascript - mv ark  04-Jul-08 10:47 10:47:23 PM
      yes... - Vasanthakumar D  05-Jul-08 12:24 12:24:01 AM
      .js file - Swapnil Salunke  05-Jul-08 12:31 12:31:09 AM
      .js file - Sanjay Verma  05-Jul-08 12:33 12:33:08 AM
      Do this - santhosh kumar  05-Jul-08 01:42 1:42:20 AM
View Posts