It's the highlightFormElements() function.
Since the appfuse use prototype and script.aculo, but I want to use jQuery only, so I need to change the original global.js.
Step 1:
since currently I only need the highlightFormElements() function, so it's very easy,On http://15daysofjquery.com/quicker/4/, you can find how to use another approach to replace the window.onload():
$(document).ready(function(){
// Your code here...
});
jQuery(document).ready(function() {
highlightFormElements();
});And that's all for my Step 1.

2万+




被折叠的 条评论
为什么被折叠?



