954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

java Script Problem

Hi,
I am trying following code to update the onClick event of an html button sitting in my asp.net page.

VB.NET code
Page.RegisterStartupScript("AutoFillScript", _
"

hamjad
Newbie Poster
3 posts since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

Self-modifying code is bad business.

It is better to set a global variable to the page you want, and request the page in JavaScript according to the variable you set.

MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You