jquery - Dynamic select list from link -


Does anyone help me write jquery code, which will prepare a selection list of data from the link:

<"" " "" "" "" "Id": "12"}]

pre> select name = "field_attr_id_1_like "& Gt; Option value =" 210 Amber "> 210 Amber Option <= 30 m Bb "30 amber gt; option value =" attribute 1 "> attribute 1 gt; option value =" in "& gt; In & lt; / option & gt; & lt; / select & gt;

Try it:

 for  (var i = 0; i  

Update: In my example, select "ID" Instead of "name" attribute but if you select "selection" Instead of using the selector if you want to sum:

  $ ( 'select [name = "field_attr_id_1_like"]') .andend ( '& lt; Option value = "'+ My Jason [I]. Value +'" & gt; 'Marriage [I] .Label +' & lt; / Options & gt; ');  

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -