Expected ':'
Expected ':'
I am getting this error for a simple Jquery code I have written.
Here is the code: -
<script type="text/javascript">
$(document).ready({
$(".pageThumnails a").attr("rel","lightbox[thumnail]");
});
</script>
Why am I getting the error please?