Welcome Guest, Not a member yet? Register   Sign In
CSS + form helper + jquery question
#2

[eluser]toopay[/eluser]
There are no such things, what you called "advantages/disadvantages", in above comparation. They're rendering same things in a browser. Its true that the first one use less memory and less words than the second, but it's will be too small to count as "advantages".

It's all about your coding standard. I'm personally prefer to create a helper(and hook), in order to write above line into pseudo variable like:
Code:
{pseudo:form_input name:req1 id:req1 class:validate[required] text-input}


Messages In This Thread
CSS + form helper + jquery question - by El Forum - 04-29-2011, 03:07 PM
CSS + form helper + jquery question - by El Forum - 04-30-2011, 12:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB