troubleshooting Question

How can I set readonly for all my input that has a prefix name "f_tab_4"?

Avatar of hidrau
hidrauFlag for Brazil asked on
jQuery
8 Comments1 Solution312 ViewsLast Modified:
Hello guys

I have 30 inputs, 10 inputs has this prefix name

f_tab_4_??????

Is there any way to set all input with  prefix "f_tab_4_" to readonly and a attibute name upd="0" ?

<input type="text"  id="f_tab_4_frete"  upd="0" />
<input type="text"  id="f_tab_4_clie"  upd="0" />
<input type="text"  id="f_tab_4_cod"  upd="0" />
<input type="text"  id="f_tab_4_desc"  upd="0" />
<input type="text"  id="f_tab_4_prod"  upd="0" />
<input type="text"  id="f_tab_4_uf"  upd="0" />
<input type="text"  id="f_tab_4_raz"  upd="0" />

<input type="text"  id="f_tab_4_ema"  upd="1" />
<input type="text"  id="f_tab_4_was"  upd="1" />
<input type="text"  id="f_tab_4_tipo"  upd="1" />

thanks
ASKER CERTIFIED SOLUTION
zappafan2k2

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros