I have the following bit of code that works with jQuery, which is causing a jQuery conflict that I simply can not resolve, because of the limitations of the ystsem I am working with.
<script type="text/javascript">
$(document).ready(function() {
if (<?php echo $totalpage?> > 14) {
$('#fpointer').show();
}
});
</script>;
So my questions is can I convert this code to JavaScript which can run without jQuery? I think I can figure out most of it but the part I'm not sure about is the $(document).ready(function()
and how that translates.