Jump to content

how to recall code instead of copy and pasting


Quertas

Recommended Posts

With a function you can run a particular set of code multiple times, even giving it different values. You probably should read to the Javascript tutorial again, functions are one of the most fundamental aspects of programming.

Link to comment
Share on other sites

<select class ="sheet-select" name="attr_dexterity_select" value="0" style="width:600px"> <option value="0"> </option> <option value="1">Acting Ability - 1,2,3 +1/point charm skills</option> <option value="2">Acute hearing 2 +1d per,search/conceal,sneak</option>

</select>

<input type="number" name="attr_DEXTERITYpip" class="sheet-smallnumber" min="0" value="0" style="width:35px"/>

 

<!-- there is alot more in the drop down menu, just gave u a small sample.. instead of copying andpasting i want a "place holder or function or sumtin" so i can just put in the code and it will call the code instead

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...