Hi!
Yes, i can. Strangely direct compare produce "true" in log
<html>
<head>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
console.log($('form[action=test.php]').length);
console.log($('form').attr('action')=='test.php');
});
</script>
</head>
<body>
<a href="test.html">welcome</a>
<form action="test.php">
<input type="hidden" name="id" value="1" />
</form>
</body>
</html>
On Apr 24, 8:10 pm, Rogie King <[email protected]> wrote:
> Can any of you reproduce this bug?
>
> Markup:
>
> <a href="/path/To/File.ext" ... />
>
> <form action="/path/To/File.ext" ... />
>
> Bug:
>
> $('a[href^=/path]') will yield one selected item
>
> $('form[actionf^=/path]') will yield zero selected items
>
> Thoughts?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---