trooprr / jquery-watermark

Automatically exported from code.google.com/p/jquery-watermark
0 stars 0 forks source link

Watermark fails on IE8 with error: Object doesn't support this property or method - on form.submit, line 462 #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Watermark fails on IE8

What steps will reproduce the problem?
1. load the attached test.html in IE8 - it's a minimal-code version of the 
problem.
2. error on line 462 and 487, assigning to form.submit: "Object doesn't support 
this property or method"

What version of the product are you using? On what operating system?
wartermark 3.0.6 - Windows 7 - IE8

Original issue reported on code.google.com by bluescru...@gmail.com on 10 Oct 2010 at 7:50

Attachments:

GoogleCodeExporter commented 8 years ago
Problem solved - IE7/8 issue:

in my sample, my submit button was named 'submit' which was overriding 
form.submit in IE7/8

http://stackoverflow.com/questions/266794/javascript-form-submit-object-doesnt-s
upport-this-property-or-method-ie7

Original comment by bluescru...@gmail.com on 10 Oct 2010 at 8:09

GoogleCodeExporter commented 8 years ago
That's just one of those eye-rollers that wastes a lot of development time.  
Glad you were able to figure it out though, thanks for following up.

Original comment by t...@speednet.biz on 22 Oct 2010 at 3:52

GoogleCodeExporter commented 8 years ago
bluescrubbie discovered naming conflict caused the problem, so issue is closed.

Original comment by t...@speednet.biz on 3 Dec 2010 at 3:59