You can use īecause you are comparing, not setting values.Ībout your other question (navigate through a table), you can create a JavaScript function which does that. the default selected value is "Male", so if you select it it doesn't trigger onchange event. You could also create a CSS stylesheet with. Instead of showing/hiding each element, you can add classes to them: ĮDIT2: this is the section where mSquire and fSquire are: When you grew to a young adult, you became a. When the stats are changed I want to automatically display them in a tabular form, would that require me to give an id to each td or could I somehow reference which cell so like the third cell from the left two cells down would be table1(3,2) or is that too difficult/impossible?ĮDIT: Also, I've made sure I've linked to the jQuery file in the header. The script should in theory, depending on the options chosen, determine the characters stats as it would do in game.Īt the moment when I choose male/female in the select box none of the specified fields disappear. ![]() I'm trying to make an Unnoficial character creation tester for the popular game Mount & Blade.
0 Comments
Leave a Reply. |