Posted By

sixmedia on 07/22/09


Tagged

form textmate jquery contact


Versions (?)

Jquery Accessible Forms Code


 / Published in: Other
 

  1.  
  2. $(document).ready(
  3. function()
  4. {
  5. if($.browser.mozilla)
  6. {
  7. $("form.cmxform").find("li > label").not(".nocmx").each(
  8. function(i)
  9. {
  10. span = document.createElement("span");
  11. $(span).css({ display: "block", width: $(this).css("width") });
  12. $(this).css("display","-moz-inline-box");
  13. $(span).html($(this).html());
  14. $(this).html("");
  15. $(this).append(span);
  16. }
  17. );
  18. }
  19. }
  20. );

Report this snippet  

You need to login to post a comment.