[jQuery] Anyone know why mouse position inside div is different in Firefox and IE

2008-09-03 Thread Artzone
I have a div and I want to capture the x and y values when there is a click inside the div. This works great in Firefox and Safari but the offset seems to be wrong in IE7. There's a sample page here: http://static1.shopify.com/s/files/1/0003/0911/assets/testclick.html And this is the function

[jQuery] How to remove duplicates from dropdown select box

2008-01-10 Thread artzone
I'm new to jquery but I'm lovin it so far. Can anyone tell me the best way to remove duplicates from a dropdown that looks like this: form name=myform select name=mylist id=mylist optionSelect an option/option option value=RodRod/option option value=RodRod/option option value=LineLine/option