passing jQuery custom value
-
hello –
i am thinking the best way to pass a custom value using jQuery might be something like this:
jQuery("input.asp_product_custom_field_input").val("Marks Custom Value"); jQuery(".asp_product_custome_field_input").prop("readonly", true); jQuery("input#asp-custom-field-0").prop("disabled", true);
any opinions?
EDIT:
this works too:
jQuery("input[name=charge_description]").val('New Value!');
- This topic was modified 6 years, 3 months ago by .
- This topic was modified 6 years, 3 months ago by .
- This topic was modified 6 years, 3 months ago by .
- This topic was modified 6 years, 3 months ago by .
- This topic was modified 6 years, 3 months ago by .
- This topic was modified 6 years, 3 months ago by .
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘passing jQuery custom value’ is closed to new replies.