Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jQuery validation

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45687
    Sekbet
    Member

    Hey there :)

    so i’m working on my form, and html5 is working as great

    but i’m moving on trying to add some jQuery to it, but can’t get to work, and i’v been staring at the code for some time now, maby a fresh par of eyes can help i hope :)

    the thing i wan’t it to do is in the < span id="formerror" class="error" >

    I wan’t the jquery to pop in a message “This is a required field”
    that is in the jQuery code

    here is the pen, i hope i did it right, fist time making a pen :p

    http://cdpn.io/ifKmz

    Hope you can help

    regards

    Sekbet

    #139503
    Sekbet
    Member

    Hmmm it works in the pen thats wired

    #139505
    Sekbet
    Member

    well i’m so sorry for wasting your time, i found the problem, my script link was before i linked to the jQuery library.

    I guess a fresh set of eyes did help the Pen’s :)

    sorry again

    regards

    Nefertiti

    #139506
    Sekbet
    Member

    [solved]

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.