Jun 12, 2007 #1 AT76 Technical User Apr 14, 2005 460 US Hi all, I'm trying to pass the text string of a selected listBox to a javascript code function in the client side. Can someone help me with an example! Thanks in advance!
Hi all, I'm trying to pass the text string of a selected listBox to a javascript code function in the client side. Can someone help me with an example! Thanks in advance!
Jun 12, 2007 #2 AlexCuse Programmer Apr 13, 2006 5,416 US I think you need to re-code your javascript from the server side and re-write it to the client each time it changes. Have a look at the RegisterClientScriptBlock method. http://msdn2.microsoft.com/en-us/library/system.web.ui.page.registerclientscriptblock(VS.71).aspx hope it helps, Alex Ignorance of certain subjects is a great part of wisdom Upvote 0 Downvote
I think you need to re-code your javascript from the server side and re-write it to the client each time it changes. Have a look at the RegisterClientScriptBlock method. http://msdn2.microsoft.com/en-us/library/system.web.ui.page.registerclientscriptblock(VS.71).aspx hope it helps, Alex Ignorance of certain subjects is a great part of wisdom