I am trying to call a jQuery loaded javascript function by a
static javascript function on the html page... and I cannot get it to
trigger.
If I tie the jQuery function to $('a').click( loadSomething );
Then it works. But I want to be able to call the function from a resident
script???
<html>
<head>
<script type="text/javascript">
... added/generated by c#
$(document).ready(function() {
function callit() {
alert("Hello world!");
}
...
});
</script>
<script type="text/javascript">
... on asp.net Default.aspx page
callit();
</script>
</head>
<body>
</body>
</html>