I am wondering how i can pass a javascript variable to asp.net.
I have an ad rotator "in javascript" that rotates a new ad from a databse "into an asp:imagebutton" every 10 seconds.
when i click on the imagebutton i want it to update my database, so I, somehow, need to get the ID field into a variable that aspx can see.
I know it sounds a little confusing, but i really neede this to work, thanks a million!!Try using AJAX. There is a good asp.net control called magicajax at <!-- m --><a class="postlink" href="http://sourceforge.net">http://sourceforge.net</a><!-- m -->.
I have an ad rotator "in javascript" that rotates a new ad from a databse "into an asp:imagebutton" every 10 seconds.
when i click on the imagebutton i want it to update my database, so I, somehow, need to get the ID field into a variable that aspx can see.
I know it sounds a little confusing, but i really neede this to work, thanks a million!!Try using AJAX. There is a good asp.net control called magicajax at <!-- m --><a class="postlink" href="http://sourceforge.net">http://sourceforge.net</a><!-- m -->.