Need Help in to write jQuery function

I need some help in implementing jQuery. I have a dropdown list with the following code Programs*: On the change event of my drop down list (javascript function "checkbox()" gets called), and the function fetches course list and display that list "course" tab in checkbox form. function checkboxlist() { document.userTrainingForm.action = "/UserRegistration/training/main/student/getCourses"; document.userTrainingForm.submit(); } Course tab code snippet

Page is getting refreshed on every On Change event. Can somebody please help me to write "function checkboxlist()" in jQuery ***(jQuery.ajax())*** , so that page doesn't get refreshed on every onchange event.
No. What we can do, and will do very well, is answer any problems you encounter when writing checkboxlist() yourself.

以上就是Need Help in to write jQuery function的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » jQuery 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准