Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value attribute for input elements of type submit is ignored in IE #2

Closed
gregopet opened this issue Jun 8, 2011 · 3 comments
Closed
Assignees

Comments

@gregopet
Copy link

gregopet commented Jun 8, 2011

If I create an input element of type 'submit' with ZenCoding and assign it a value attribute to change its text, the value is ignored and a default string is used instead in IE 8.

Here's a demo: http://jsfiddle.net/fskDS/2/

@ghost ghost assigned zodoz Jun 12, 2011
@zodoz
Copy link
Owner

zodoz commented Jun 12, 2011

I've tried to analyze this, and right now what I can find that that IE9 is giving me an error:
SEC7112: Script from https://raw.github.com/zodoz/jquery-ZenCoding/master/jQuery-ZenCoding.js was blocked due to mime type mismatch

I'm thinking that this may mean that IE is not allowing the script to load, therefore the $.zc() function is not available.

I'll continue looking into this, and let you know what I turn up.

@zodoz
Copy link
Owner

zodoz commented Jun 12, 2011

This particular issue appears to now be fixed. For some reason IE acts differently when calling $('', attrs); than other browsers. It appears to be fixed after applying attribute changes a second time.

Line 243 if you are interested.

@zodoz zodoz closed this as completed Jun 12, 2011
@gregopet
Copy link
Author

Works now, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants