views:

526

answers:

2

Hi,
I'm using corners plugin from here - http://malsup.com/jquery/corner/
It works fine in Chrome and FF, but IE8 says that there is "Unexpected method call or property request jquery.corner.js, string 147 symbol 17.
Here is the 147th string from plugin

bot ? this.appendChild(d) : this.insertBefore(d, this.firstChild);

Here is se code on my page:

<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/jquery.corner.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
    $('.corner').corner("5px");
});
</script>
........
<dt><label for="whom">name</label></dt><dd><input type="text" class="corner" id="whom" name="whom" size="30" /></dd>
<dt><label for="message">words</label></dt><dd><textarea cols="24" class="corner" rows="6" name="message" id="message"></textarea></dd>
<dt><labelfor="email">e-mail</label></dt><dd><input type="text" class="corner" id="email" name="email" size="15" /></dd>
<dt><label for="from">sign</label></dt><dd><input type="text" class="corner" name="from" id="from" size="30" /></dd></dl>
<p class="submit-button"><input type="submit" id="submit_but" value="Send" /></p>

P.S.: I found a few topics like this here but with no answers. Only tip to download the last version of corners, but I taked the last version from the site, where can I find the most recent?

A: 

I used this plugin before and its working on IE8 as on FF,
example of what i wrote:
$("#MyDiv").corner("cc:#d16531 tr br").corner("cc:#66783C tl bl");

This will add 4 corners TopLeft TopRight ButtomRight ButtomLeft with 2 different colors

Amr ElGarhy
+1  A: 

Yopu plugin don't work with input elements. i try it, too. :) sorry man.

Mo