Skip to main content

Bug Tracker

Side navigation

#1001 closed bug (fixed)

Opened February 27, 2007 07:26AM UTC

Closed March 25, 2007 12:58AM UTC

Last modified June 20, 2007 12:51AM UTC

$() function do not support chinese parameter

Reported by: oscnet Owned by:
Priority: major Milestone: 1.1.3
Component: core Version: 1.1.1
Keywords: Cc:
Blocked by: Blocking:
Description

Description

$output ='<a class="中文" >abc</a>';

drupal_add_js('

$(document).ready(function() {

$("a.中文").click(function() {

alert("Hello world!");

});

});' ,'inline');

return $output;

this do not worked.

$output ='<a class="foo" >abc</a>';

drupal_add_js('

$(document).ready(function() {

$("a.foo").click(function() {

alert("Hello world!");

});

});' ,'inline');

return $output;

it's worked.

Attachments (0)
Change History (3)

Changed March 24, 2007 06:06PM UTC by john comment:1

need: → Test Case

Changed March 24, 2007 10:44PM UTC by john comment:2

component: ajaxcore

Changed March 25, 2007 12:58AM UTC by john comment:3

priority: criticalmajor
resolution: → fixed
status: newclosed

Fixed in SVN rev [1577].