• Got a Tipila, google, windows live or facebook account ?
Tips tagged: html
1
votes
Correct name of the hand cursor is pointer. So use the following css cursor: pointer;
1
votes
Use the title html attribute <div title="advanced options"></div>
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");
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
HTML strict 4.01 requires the empty elements to not to have self closing tags like <tag /> But sometimes asp.net automatically addds the self closing tag if the tag is just specified as <tag> . If this happens check if the parent element (ex. head) has runat="server" and remove it.
0
votes
If you've to put the & sign inside a url in an html page you should encode it as &amp; Ex: tipila.com/tips?qyery=test&count=10 is invalid if shown within a page and it should be as tipila.com/tips?qyery=test&amp;count=10 Reason for this is that the & sign is the starting character for special chars in html. More info h ...
0
votes
This is the character encoding for html 4. <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> More info http://www.w3.org/International/questions/qa-html-encoding-declarations#quicklookup
11
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