• Got a Tipila, google, windows live or facebook account ?
Tips tagged: jquery
1
votes
Setting attribute checked="checked" does not work if the radio button is not shown. Use the following jquery script to set it. $('#chkAll').attr('checked', true);
1
votes
Use the following code if ($('#chkMyTips').is(':checked'))
1
votes
This is how to do it with jQuery For versions before jquery 1.6 $('#chkAll').attr('checked', true); For versions after jquery 1.6 $('#chkAll').prop('checked', true); More info http://api.jquery.com/prop/
1
votes
To set the text of a html text box (input type="text") using jquery, do this: $('#txtSearch').val("this is the text");
1
votes
This one is the best watermark plugin that I found so far http://code.google.com/p/jquery-watermark/ This is how to use: Download the js file from the above link (Make sure have jquery too) Add the following css to the site css: .watermark {color: #999 !important;} Add following java script code to <head> Code: $(docum ...
0
votes
This is how to close an html element when outside is clicked. .advanced-search-container is the div we need to hide $(document).click(function () { $('.advanced-search-container').slideUp(); }); $(".advanced-search-container").click(function (e) { e.stopPropagation(); //stop the click event from propagating });
0
votes
This is how to position one div next to another with jquery. Note that the parent of the element which is being positioned, should have postion:relative $('.down-arrow').click(function (e) { var pos = $('#container').position(); //next to this element var h = $('#container').height(); $('.to-position').css({ // this is ...
0
votes
See if there's a space between the required and custom[email] options. class="validate[required, custom[email]] -- Email will not work class="validate[required,custom[email]] -- Required and email both work
8
Matching Tips
Search options
  • Use the syntax:
    seach text, tag1, tag2,...
    to search for tips with the given tags.
  • Add ,mytips to the search text to search within MyTips only.
  • Use the syntax:
    ,tag1, tag2,...  to get all tips with the given tags.
Login to Tipila