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.preventDefa

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 wrote: > > > setInterval(function(){alert("hello");},9); > > > http://www.elated.com/articles/javascript-timers-with-setti

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 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 standard meth

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/

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] 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

[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... -- http://ranacseru

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] 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
loop through all the items in array and use item.replace(",","',") this should be ok now... -- http://ranacseruet.blogspot.com/

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] 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

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 whenev

Re: [jQuery] Re: XML Writing

2009-11-17 Thread mufti ali
').text("b"); >> >> This however isn't working.  So I was wondering if there was a >> different way to do this. >> >> Thanks, >> Shane. > -- Mufti Ali 087831163105 http://wordtaps.com http://blogfreakz.com

Re: [jQuery] Re: XML Writing

2009-11-17 Thread mufti ali
get by ajax? > inpage? > > On Nov 16, 3:39 pm, Shane wrote: >> Hey guys, >> >> Is it possible to use jQuery to write to XML nodes for example I have: >> >>      a >> >> >> I want to do something like: >> $(xml).find('type').text(&

[jQuery] JQuery cloned elements new class isn't recognized.

2009-10-21 Thread Ali
Hey. I have two functions show after the message. The first works fine. When a checkbox is clicked with the class availableProfile, its class is removed, selectedProfile added. It is then appended to anotehr list and destroyed in the original. However when i click the now moved checkbox it doesn't

[jQuery] JQuery Move Element to a New parent

2009-10-21 Thread Ali
Hey. Essentially I have two lists one id with available one id with selected. When you click on an element within the available (a checkbox) it executes a function $(".availableProfile").click(function(event) { elementID = event.target.id;

[jQuery] I load an external page in a div but it's java script functions didn't work

2009-10-11 Thread ali Ramezankhani
I load a page in a div and i use some effect from jquery in these pages but effect's didn't work jQuery(document).ready(function() { jQuery('#m12').click(function() { jQuery('#left_intd').load('eee.html'); return false; }); jQuery('#m22').click(function() { jQuery('#left_intd').load('logintem

[jQuery] Re: TableSorter. Pager issue.

2009-07-21 Thread Ali
Anyone? just an update, its not working in any of the browsers, I have tried FF IE and Chrome.

[jQuery] TableSorter. Pager issue.

2009-07-20 Thread Ali
Ok, I have tried to solve this issue for few hours without any success. I have latest Jquery, TableSorter and Pager files. This is whats going on. when I use table headers to sort its working flawless but when I use Pager (at the bottom, page navigation and table size) I am getting Javascript erro

[jQuery] Re: Adding scope support to .bind()

2009-04-08 Thread Ali Hasan
+1 The ability to specify the scope to a handler function would be a great addition to jQuery core. On Apr 8, 12:03 pm, gregory wrote: > the only difficulty I am having with > Balazs Endresz's approach (which I have also > implemented in my environment) is if another developer passes a > functio

[jQuery] Re: need help

2008-12-09 Thread Hassan Ali
i totally agree. the subject line i posted doesn't make any sense to my need. will be careful in future posts. On Dec 9, 5:54 pm, MorningZ <[EMAIL PROTECTED]> wrote: > Advice: > > meaningful subject lines = better/quicker help > > On Dec 9, 6:38 am, Hassan Ali

[jQuery] need help

2008-12-09 Thread Hassan Ali
i've been surfing over net to find a slide show similar to http://www.frontpageslideshow.net/ i checked the jquery site, almost entire one, couldn't find similar. can someone provide any link which is totally based on css and javascript? i've very short time and want this solution. http://www.fr

[jQuery] JQuery UI Not Working?

2008-10-18 Thread Ali
I've used JQuery and many plugins before however I am attemtping to update to the newest versions. I downloaded a theme from ui.jquery.com and then a custom package (UI Core + Tabs + Accordion). I keep getting an error that the .tabs is not a known function however. In addition my Accordion is loa

[jQuery] thickbox on a link from an ajax call

2008-01-03 Thread Ali
Hey so basically heres the deal I have thickbox in index.cfm. Index.cfm does an ajax call that loads in a product list $.ajax({ url: sendURL, cache: false, success: function(html){ document.getElementById('contentBox').innerHTML = html;} }); When one clicks a link from the ajax loaded

[jQuery] xml what i am doing wrong

2007-06-28 Thread ali
well i try to pars xml string with jquery but i think i dont know how i should do it i do this for a try var xml="ali 20"; var r=$("/student/name", xml).text(); alert(r); and it alerts with an empty string so i am sure this is wrong but what i