SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2012
    Location
    Pune, Maharashtra, India
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JQuery and javascript conflict

    Hello all,

    I have used a javascript image gallery for a site and on the same page lies a pop-up form. Both works fine as far as functionality is concerned but the problem comes with the form validation while filling the form.
    The form validation code has also been integrated within the form which is not working with the page.

    one can refer the url : http://masterworks.in/sportybeans/gallery.php

  2. #2
    SitePoint Enthusiast
    Join Date
    May 2006
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    add this to your header after calling for jQuery:
    Code:
    <script> jQuery.noConflict(); </script>
    then find, for example, in all code related to jQuery
    Code:
       <script type="text/javascript">
        $(document).ready(function(){...
    replace with
    Code:
       <script type="text/javascript">
        jQuery(document).ready(function(){...

  3. #3
    SitePoint Enthusiast
    Join Date
    Jan 2012
    Location
    Pune, Maharashtra, India
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot..!!!!!

  4. #4
    SitePoint Enthusiast
    Join Date
    May 2006
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You are welcome


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •