javascript - Object doesn't support this property or method in < I.E. 9 -


i'm js noobie , i'm stumped bug that's coming in < i.e 9. in other browsers app works fine. user plugs in values on form , gets title insurance quote returned. can see page @ http://dailyspiro.com/

the following "var amount..." line returns error: "object doesn't support property or method"

var quantity = $('#amount').val(); var amount = quantity.replace(/\,/g,''); // removes commas in numeric string  

the #amount div dropdown numeric values. since there many values on dropdown (hundreds) put code in js file rather html doc. here's tiny excerpt of looks like:

var getamount = function() { $('#amount').html('<option value=""></option><option value="0">$0 $30,000</option><option value="30,001">$30,001 $35,000</option> <option value="35,001">$35,001 $40,000</option> <option value="40,001">$40,001 $45,000</option> <option value="45,001">$45,001 $50,000</option>)  } 

i've seen other threads same error can't figure out how applies here. thanks!


Comments

Popular posts from this blog

Pull out data related to my apps from Android Play Store and iOS App Store -

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -