Friday, February 27, 2009

[jQuery] jQuery tabs problem with language

Hi,

I have a problem implementing jQuery tabs using hebrew content in the
li and div elements.
I get the error "jQuery UI Tabs: Mismatching fragment identifier" when
clicking on the tabs.

Everything works perfect when the text is english but when I have
hebrew in it it returns the above error.

I am using jQuery 1.2.6 and UI version 1.5.3.
Code:
<div id="tabHolder">
<ul>
<li><a href="#tabs-1">דוגמא</a></li>
<li><a href="#tabs-2">דוג</a></li>
<li><a href="#tabs-3">דגמא</a></li>
<li><a href="#tabs-4">עוד דוגמא</a></li>
<li><a href="#tabs-5">דוגמא דוגמא</a></li>
</ul>
<div id="#tabs-1" class=""> עברית
</div>
<div id="#tabs-2">
עברית
</div>
<div id="#tabs-3"> עברית
</div>
<div id="#tabs-4">
עברית
</div>
<div id="#tabs-5">
עברית
</div>

Is there a tweak or some option to internationalize the tabs?
I am using UTF-8 encoding on the page.

Thanks

No comments: