Forum: JavaScript / DHTML / AJAX May 2nd, 2009 |
| Replies: 11 Views: 892 Yes it can be done as:
Make a separate file for your java script code and save it with extension ".js" as it will be "filename.js"
Place that js function in that file.
Remember not to use... |
Forum: JavaScript / DHTML / AJAX May 2nd, 2009 |
| Replies: 11 Views: 892 It can be done as:
<head>
<script language="javascript" type="text/javascript">
function test()
{
// write ur code here
} |
Forum: JavaScript / DHTML / AJAX May 1st, 2009 |
| Replies: 11 Views: 892 Make a function in that js file and put all the code of js in the function. Call that function on onclick event of any link or button. |
Forum: JavaScript / DHTML / AJAX Feb 13th, 2009 |
| Replies: 7 Views: 2,196 Thanks to all of you for helping me. |
Forum: JavaScript / DHTML / AJAX Feb 8th, 2009 |
| Replies: 7 Views: 2,196 Thanks for your reply.
I have defined the table id "mainMenu", so thats why using here. Can you please further guide? |
Forum: JavaScript / DHTML / AJAX Feb 8th, 2009 |
| Replies: 7 Views: 2,196 Hi,
I need to get a table in javascript n i wrote this code:
//mainMenu is the table name
var x = document.getElementById("mainMenu")
//then i need to get it's left margin so i wrote
var... |