on 2005 Sep 21 8:22 PM
Hi,
I am developing a BSp application. the scenario goes likes this.
i have a button (submit) on clicking this the event is handled in OnInputProcessing() where in a page attribute entry is filled with a value. am passing this attribute like this
<htmlb:button id = "Submit"
text = "Submit"
onClientClick = "onSubmit(<%= entry %>)"
design = "EMPHASIZED"/>
and the function is written is:
function onSubmit(mess)
{
alert(mess);
}
am running this application in portal. On clicking the button i get nothing , the values is undefined. Let me know wats wrong here
Thanks in advance,
Shailaja
do you mean the javascript alert is not working?
check out the below code
<htmlb:button id = "Submit"
text = "Submit"
onClientClick = "onSubmit('<%= entry %>');"
design = "EMPHASIZED"/>
you missed the single quote for <%= entry %>
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.