Posts Tagged attributes

  • Basic Form Validation Using The jQuery Validation Plugin

    Form validation is a very important part of any web application. You have to make sure that your users are going to enter a numerical value when they put data into a quantity field (You don't want them to enter "one" into a quantity field, unless of

    more
  • An Even Shorter Attribute Function

    As you say in yesterdays tutorial you can retrieve the value of a text box by using the following code: $("#sizechangebox").attr("value") However there is an even shorter way to accomplish the same thing. $("#sizechangebox").val()

    more
  • jQuery Attributes Tutorial

    The jQuery Attributes function provides a quick and easy way to retrieve and manipulate attribute data in your HTML document. An example of an attribute would be the title of an anchor element, or the name value of an input element. To do this you

    more