Calling java class with javascript

hi all,

i hope im in the right forum... i have a question, how can i call a java method using javascript...

I will delete a row in a table and i would like to delete the object in the database as well without refreshing the page... var tbody = document.getElementById(id).getElementsByTagName("TBODY")[0]; tbody.deleteRow(i);

Thanks in advance...

[399 byte] By [MarySandovala] at [2007-11-26 15:05:53]
# 1
You cannot call a java method using a javascript. You can either submit the page so that it can call server side processing like calling java methods or you can use ajax.
jgalacambraa at 2007-7-8 8:55:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
i heard of ajax, i've search the internet and i can't find a good tutorial, is there one you can give me... thx..
MarySandovala at 2007-7-8 8:55:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
thx, i found a good tutorial
MarySandovala at 2007-7-8 8:55:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
can you share the link so others can benefit.. i learn ajax from [url http://w3schools.com/ajax]w3schools[/url]
jgalacambraa at 2007-7-8 8:55:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...