Is there anyway of getting the value from a inputfield (layerA.html = "<input> etc" and comparing it to say a string? Im stuck, anyone have any suggestions?
If you give the input an ID when you inject it, you can do a document.getElementById('<ID>').value and compare that
George, tried that but getting null.
Or wait! Sorry, made a typo. That fixed it. Thanks.