Re: [jQuery] Delete Row table using jquery

2010-01-20 Thread Md. Ali Ahsan Rana
This should do your work. Get a try $(document).ready(function() { $(a).click(function(event) { alert(As you can see, the link no longer took you to jquery.com ); var href = $(this).attr('href'); alert(href); event.preventDefault();

Re: [jQuery] keep executing the script after a few seconds

2010-01-13 Thread Md. Ali Ahsan Rana
use jquery's timer plugin for more efficiency. http://plugins.jquery.com/project/timers -- http://ranacseruet.blogspot.com/ On Wed, Jan 13, 2010 at 2:50 PM, bjorsq p...@bjorsq.net wrote: setInterval(function(){alert(hello);},9);

Re: [jQuery] Re: Generating a CSV of values from a bunch of Checkboxes with same id

2010-01-10 Thread Md. Ali Ahsan Rana
$(this).attr('title') -- http://ranacseruet.blogspot.com/ On Mon, Jan 11, 2010 at 11:58 AM, swfobject_fan guru4v...@gmail.com wrote: Peter, The $(this).getAttribute didn't work for me in any browser. I changed it to this: checkedGenres.push(this.getAttribute('title')); But is this a

Re: [jQuery] Re: (autocomplete) Half of page disappears in IE7 when autocomplete list shows

2010-01-07 Thread Md. Ali Ahsan Rana
Your css probably conflicting with autocomplete plugin's some css/ css class names.. Check carefully... -- http://ranacseruet.blogspot.com/

[jQuery] Jquery color animation problem

2010-01-05 Thread Md. Ali Ahsan Rana
I am trying to do it: $(this).animate({opacity:1},700); it looks fine in firefox, but the texts getting very odd look in ie 6 and ie 7. Is there any way to fix it? Also, i trie to change color like $(this).animate({color:#FF},700); and its not working. Please help... --

Re: [jQuery] Convert a string version of a json array to an actual json array

2010-01-05 Thread Md. Ali Ahsan Rana
for(var i = 0; i arrCss.length; i++){ var snip = arrCss[i].split(___); eval(var temp=+snip[1]); $(snip[0]).css(temp); } this may work, try it(although i didnt't try yet) -- http://ranacseruet.blogspot.com

Re: [jQuery] Need An Example On Parsing My XML

2010-01-05 Thread Md. Ali Ahsan Rana
This should be done using alert($(data).find(ns3:userName).text()). Please try this out...(though i didn't try) -- http://ranacseruet.blogspot.com

Re: [jQuery] Autocomplete

2010-01-04 Thread Md. Ali Ahsan Rana
loop through all the items in array and use item.replace(,,',) this should be ok now... -- http://ranacseruet.blogspot.com/

Re: [jQuery] Autocomplete

2010-01-04 Thread Md. Ali Ahsan Rana
i just tried with this cities = [TownOne, County, Town Two, County, Town Three, County, TownFour, County]; $(#suggest1).autocomplete(cities); its working correctly. The problem you said, event doesn't appear. So, can you explain what you r using and what is happening actually? Regards

Re: [jQuery] Autocomplete

2010-01-04 Thread Md. Ali Ahsan Rana
If you want to match ignoring the comma(may be this is what you want), then you have to pass some extra parameters and some more suggestion will show up besides the expected.. $(#suggest1).focus().autocomplete(cities, {multiple: true, multipleSeparator: , matchContains:true} );

Re: [jQuery] Re: How to check whether an element is bound to an event or not?

2010-01-03 Thread Md. Ali Ahsan Rana
I don't know about this much. But, just a while ago, i wa having problem binding focus event with live() method. Just solved it by the following code that i found somewhere on internet: (function(){ var special = jQuery.event.special, uid1 = 'D' + (+new Date()), uid2 = 'D' +

Re: [jQuery] How to check whether an element is bound to an event or not?

2010-01-02 Thread Md. Ali Ahsan Rana
hi, thanks. But, what is happening here is: There is an DOM element, which is reloading(replaced by ajax response with same id/tag), then the event isn't no more bounded. I want it to be bounded all the time. Do you think, here unbound will work? Or Is there any way to keep the binding

Re: [jQuery] Re: How to check whether an element is bound to an event or not?

2010-01-02 Thread Md. Ali Ahsan Rana
Hi, Thanks for your reply. It helped me a lot. Regards