Hello
I want to create a web page which can continually sending random value to data base without doing refresh .
For example
<html>
<HEAD>
<TITLE>HTML Title</TITLE>
</HEAD>
<BODY>
<H3 ALIGN="CENTER">
Ramdom number from 0 to 10 :
<FONT COLOR="RED">
<%= (int) (Math.random() * 10) %>
</FONT>
</H3>
<H4 ALIGN="CENTER">Refresh the page to see if the number changes...</H4>
</BODY>
</HTML>
in which direction i should go either of using applets or something which can easily be adopted . Thanks
You can use JavaScript to do this. It’s extremely simple.
Demo: http://jsfiddle.net/mattball/c9t3T/
Based on the HTML in your example, you should probably take some time and start learning CSS as well.