Skip to main content

Bug Tracker

Side navigation

#8112 closed bug (invalid)

Opened February 01, 2011 02:01AM UTC

Closed February 01, 2011 05:54AM UTC

Last modified February 02, 2011 12:01PM UTC

Set "name" attribute using attr doesn't work on IE 8

Reported by: carloseugenio@gmail.com Owned by: carloseugenio@gmail.com
Priority: low Milestone: 1.next
Component: attributes Version: 1.5
Keywords: Cc:
Blocked by: Blocking:
Description

Hi! This code:

	//Getting the checkbox
	var checkbox = $row.find(':checkbox');
	//Change the checkbox id and name
	checkbox.attr('id', 'disassociate-questions');
	checkbox.attr('name', 'disassociate-questions');
	var row_html_to_add = $row.html();
	alert("Row html: " + row_html_to_add);

Alerts only id attribute changed to the new value. The attribute name doesn't change on IE8. In Chrome and Firefox it works correctly.

Regards.

Carlos Eugênio.

Attachments (0)
Change History (4)

Changed February 01, 2011 05:14AM UTC by danheberden comment:1

component: unfiledattributes
owner: → carloseugenio@gmail.com
status: newpending

Thanks for taking the time to make a bug report! Please make sure you've follow the steps outlined in our bug reporting guide ( http://docs.jquery.com/How_to_Report_Bugs ) which includes making a distilled, runnable test-case on jsfiddle.net.

Looking forward to seeing the demo of your bug.

Changed February 01, 2011 05:54AM UTC by danheberden comment:2

_comment0: Went a head and made one - works fine in IE8 (7, and 6 too) and chrome, etc . \ \ Hope this helps narrow down your problem, i suspect there is an error in your app somewhere: \ http://jsfiddle.net/danheberden/DM5t7/1296539725020193
_comment1: Went ahead and made a test case: works fine in IE8 (7, and 6 too) and chrome, etc . \ \ Hope this helps narrow down your problem. I suspect there is an error in your app somewhere. \ \ http://jsfiddle.net/danheberden/DM5t7/1296539822509754
resolution: → invalid
status: pendingclosed

Went ahead and made a test case: works fine in IE8 (7, and 6 too) and chrome, etc .

Hope this helps narrow down your problem. I suspect there is an error in your app somewhere.

http://jsfiddle.net/danheberden/DM5t7/

see: http://gyazo.com/f18fde2ee1cc031598356166718827f9.png

Changed February 01, 2011 12:32PM UTC by jitter comment:3

priority: undecidedlow

Changed February 02, 2011 12:01PM UTC by anonymous comment:4

Sorry for not have seen the the bug reporting guide before. Nevertheless, I couldn't reproduce in jsfiddle either. I will double check what might have happened here.

Thanks for the time.