IE6 Jquery Namespace problem
Posted
by Clint
on Stack Overflow
See other posts from Stack Overflow
or by Clint
Published on 2010-04-14T10:41:34Z
Indexed on
2010/04/14
10:52 UTC
Read the original article
Hit count: 316
Hi,
The following code works in all browsers apart from IE6...
var mylib =
{
selectStyle :
{
init : function()
{
$('#select-box1').jqTransform({imgPath:'jqtransformplugin/img/'});
}
}
}
<script type="text/javascript">
mylib.selectStyle.init();
</script>
The error states 'mylib' is undefined
Can someone please help otherwise I will have to spend alot of time redoing a lot more code than this.
Many thanks, C
© Stack Overflow or respective owner