https://bugzilla.wikimedia.org/show_bug.cgi?id=40430
--- Comment #2 from Krinkle <[email protected]> 2012-09-22 16:22:41 UTC --- (In reply to comment #0) > 7badb11ae872270d5b24f815617c772cc8287d7d > What does this commit hash refer to? It doesn't appear to exist in the MediaWiki repository. > Usually, you create a new node with jQuery using the following syntax: > $('<elem>', map_of_methods_and_attributes); > Then I'd say that is a bad habbit > Test case: > [.] > // Prove that the placeholder is not set > $('<input>', { > type: 'text', > For you information, the "type" attribute should not be modified from javascript, because in IE input elements need to be given a type time of parsing, altering (even if directly afterwards) does not work, so this would have to be $('<input type="..">') instead. In the above case it works fine, but that's because type="text" is the default value, not because it "set". -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
