I'm using this function:
$(function echo_content(name, content) {
var random1 = Math.ceil(Math.random()*500);
var random2 = Math.ceil(Math.random()*1000);
alert(content);
$('#TheDiv').show("slow");
});
And i'm calling this function on my webpage like this:
<td>Content <script>echo_content("MyName", "The Content"); </script></td>
The problem is, that the function alerts undefined instead of The Content.
What am I doing wrong?