help me!In javascript !

J

jack liu

i tried many times!but it didnt work!
I used spread sheet as a client web component.And code as followwed:
<script id="clientEventHandlersJS" language="javascript">
<!--

function Spreadsheet1_onclick()
{
alert("fdlkjfs") ;
}

//-->
</script>
<script language="javascript" for="Spreadsheet1" event="onclick">
<!--
return Spreadsheet1_onclick()
//-->
</script>

how could i?
 
T

Thao Moua [ms]

Your code look kind of messing so I cleaned it up. Make
sure you call the correct event. Spreadsheet control
does not have an OnClick() event.

------------------------------------
<script language="javascript">
function Webcalc_click()
{
alert("fdlkjfs");
}
</script>

<script language="javascript" for=WebCalc event=Click()>
Webcalc_click();
</script>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top