i want to ask if i want to add jquery AJAX form function in a Drupal “Page” content, where should i add the javascript code (just typed in the “page” body)? and where would be the form target (the backend process script) ??
or i need to write a module instead of using “page” content?
thx.
you can simply add jquery inside page by using following function which is responsible for including jquery file inside your page
you can also include the js file by
remember! use ‘jQuery’ instaed of $ sign inside jQ code.