javascript - Error Jquery for html -


Read Before Responding

This function does not work. I need this company equally

When you are the exchange of this exchange, select the period in which the link and content of the DIV Skype will be: benhur.augusto

< Strong> Need to make changes with price or ID?

  & lt; Select name = "select" sourceindex = "0" & ​​gt; & Lt; Option value = "1" & gt; Mansl & lt; / Options & gt; & Lt; Option value = "3" id = "trimestral" & gt; Three dimensional (3% de desconto) & lt; / Options & gt; & Lt; Option value = "6" id = "semesteral" & gt; Semestal (6% de desconto) & lt; / Option & gt; & Lt; Option value = "12" & gt; Unusual (12% de desconto) & lt; / Options & gt; & Lt; / Select & gt; & Lt; Div id = "p01" square = "value" & gt; $ 3.99 & lt; I & gt; / Por mês & lt; / I & gt; & Lt; / Div & gt; & Lt; Div id = "p02" class = "price" & gt; $ 3.99 & lt; I & gt; / Por MAS & lt; / I & gt; & Lt; / Div & gt; & Lt; Div id = "p03" class = "price" & gt; $ 3.99 & lt; I & gt; / Por mês & lt; / I & gt; & Lt; / Div & gt; & Lt; Div id = "p04" class = "price" & gt; $ 3.99 & lt; I & gt; / Por mês & lt; / I & gt; & Lt; / Div & gt; & Lt; A href = "#" id = "l01" square = "orange small color" & gt; Compar Agara & lt; / A & gt; & Lt; A href = "#" id = "l02" square = "orange small color" & gt; Copper agada & lt; / A & gt; & Lt; A href = "#" id = "l03" square = "orange small color" & gt; Copper agada & lt; / A & gt; & Lt; A href = "#" id = "l04" square = "orange small color" & gt; Copper agada & lt; / A & gt; & Lt; Script type = "text / javascript" & gt; $ (Document) .ready (function () {$ ("# trimestral"). Click (function () {$ ("# p01"). Html ("R $ 53.99  / por mês & Lt; / i & gt; "; $ (" # P02 ") .HTML (" R $ 63.99  / pór mês  "); $ (" # p03 "$" ("R $ 73.99  i  <> ($" $ 113.99  / por mês  ");" $ (" # P03 ") .HTML (" $ 123.99  / MOAS  "); $ (" # l01 "). Etter (" href "," http: // www .codigosnaweb.com "); $ (" # l02 "). (" $ ("Href", "http://www.codigosnaweb.com"); $ ("# L04") Attr ("href", "http: //www.codigosnaweb .com");});}); & lt; / Script & gt;  

Use .on ('change', You get the select (option on .click (not ), option id , then enter your code id < / P>

  & lt; script type = "text / javascript" & gt; $ (document) .ready (function () {$ ('input [name = select]'). ('Change' ', Function () {var optionId = $ (this) .attr (' id '); if (optionId ==' trimestral ') {....} else if (optionId ==' semestral ') {.. .}}}}};   

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 -