Hey all, my first post here. I'm primarily a designer but need to get more into the code aspect of things (and will be getting jQuery asap), but at the moment i'm very behind on time on a project and could use some quick help.

Where inside those vars (INPUT's) would i REFER to the 'class' of .formpad? Basically I just want to add cellpadding to the table that is being dynamically loaded. If anyone has time to help via IM that'd be cool too, this is pretty easy stuff for true coders.

(the test page for all of this is currently at:

http://planetcellinc.com/rma-rev726.html

Any help appreciated, thanks!

-Hrl2k

disastro

07-27-2010, 10:38 PM

I think I understand what you are asking. If not, feel free to correct me.

In your javascript, when you are creating (or declaring) the input elements just add the class like so:

Also, for future reference, it makes you code much easier to read if you put it in [CODE] tags when you are writing your post.

Like I said, I think this is what you are looking for, but I've been wrong before!

thanks, ill see what i can do! & thx for tip.

disastro

07-27-2010, 10:54 PM

Happy to help.

hrl2k

07-28-2010, 12:04 AM

I mostly figured it out except for one small thing. check it out:

http://www.planetcellinc.com/rma-rev726.html

All my padding only works *after* I press the "MORE" button. Does anyone have any advice for this? The first 10 boxes definitely need to line up too.

thanks!

disastro

07-28-2010, 12:43 AM

I took a look. I'm not entirely sure what effect you're going for here.
You are padding the spans, so the internal elements are 7px from the left,right,top and bottom of the span.

By the way, everything looks fine (and aligned) in firefox (except the topmost textfields which you have positioned with non-breaking spaces).

The first ten rows of inputs are displayed when the "More" button is pressed. One thing to watch out for is if the user has entered data in the first 10 rows and clicks the "More" button, all entered data is lost.