You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then it works fine for the Web application . But it doesn't work for IRuby notebook.
The IRuby notebook I tried is this .
How can we replace $ , ready so that it can work on both ?
The text was updated successfully, but these errors were encountered:
Actually I want to replace JQuery code and write in Javascript only so that it can work . $( document ).ready() will only run once the page Document Object Model (DOM) is ready for JavaScript code to execute.
I fixed the similar problem by removing the var onload = window.onload; and replacing (function() {with$(function() { and ending it with});not})()` . The code is here .
I am trying to generate HTML and Javaascript code for the data table. When I use
then it works fine for the Web application . But it doesn't work for IRuby notebook.
The IRuby notebook I tried is this .
How can we replace
$
,ready
so that it can work on both ?The text was updated successfully, but these errors were encountered: