[jQuery] Re: Form is always submitting

2009-09-04 Thread Cold Flame
in the code, I want to submit form but on some conditions (which are in IF clause). Right now it is going/executing 'SUBMIT' function when I click on the button. Thanks On Sep 4, 11:45 am, Cold Flame theumairsha...@gmail.com wrote: Hi, If you set value of type attribute to button instead

[jQuery] Re: How to handle onmouseover event with keyboard

2009-09-04 Thread Cold Flame
If you want to achieve the functionality of mouse over on an element as you press tab from key board. Then try onfoucs event of that element. When u press tab foucs is set on the next ordered element. Regards On Sep 4, 10:18 am, Aravind - User experience aravind.dok...@gmail.com wrote: Hi

[jQuery] Re: Hidden div height width

2009-09-04 Thread Cold Flame
Hi Rupak, if div is hidden using css display:none then you can't get its height or width because logically that element is that drawn on the browser. While if u hide the div using css visibility:hidden then u can get the height and width of the element. Regards Umair Shahid On Sep 4, 3:45 pm,

[jQuery] Re: Form is always submitting

2009-09-03 Thread Cold Flame
Hi, If you set value of type attribute to button instead of submit the form will not submit. Like if you want to make an ajax call on send message button. i.e input type=button class=button value=Send Message To Shipper name=smts id=smts/ Regards Umair Shahid On Sep 4, 11:03 am, Bluesapphire

[jQuery] Re: setting a dynamic variable

2009-07-20 Thread Cold Flame
Hi Mike and sig, Nice explanation ... function my_function(panel_id) { alert( '#-'+panel_id+' .container' ); } I hope that will work for you. Regards Umair Shahid

[jQuery] Re: setting a dynamic variable

2009-07-20 Thread Cold Flame
Hi Sig, you can achieve that by function my_function(panel_id) { var $container = $(#+panel_id+ .container'); ... } Hope that will work for you . Regards Umair On Jul 20, 11:35 am, macsig sigbac...@gmail.com wrote: Hello guys, I have found a script that works fine for me but I'd like

[jQuery] Re: Can't change padding using animate() in IE

2009-07-20 Thread Cold Flame
Hi, The thing which i have observed is that if you try to set the padding property i.e padding:20px 40px .. you will get an error in IE but if you set padding:40px it will work fine although it will not give the results what u trying to achieve .. so you can set padding-left , right , top and

[jQuery] Re: Can't change padding using animate() in IE

2009-07-20 Thread Cold Flame
Hi, The thing which i have observed is that if you try to set the padding property i.e padding:20px 40px .. you will get an error in IE but if you set padding:40px it will work fine although it will not give the results what u trying to achieve .. so you can set padding-left , right , top and

[jQuery] Re: Can't change padding using animate() in IE

2009-07-20 Thread Cold Flame
Hi, The thing which i have observed is that if you try to set the padding property i.e padding:20px 40px .. you will get an error in IE but if you set padding:40px it will work fine although it will not give the results what u trying to achieve .. so you can set padding-left , right , top and