This project is archived and is in readonly mode.

#613 ✓invalid

dot messing up getElements()

Reported by SamGoody | March 6th, 2009 @ 10:59 AM | in 2.0 (closed)

If the class or id has a dot, getElements throws an error: expression is undefined

example code:

	<title>dotGetElement bug</title>
	<script src="mootools.js"></script>
		window.addEvent('load', function(){ $('a.1').getElements() });
	<div id="a.1"><span>hello</span></div>

dots within class/id names are valid:

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket