[jQuery] Safari 4 with jQuery/Json - anyone experience problems?

2009-09-16 Thread MiKiTiE
Hi everyone I've been working on an ajax call which activates a spellchecker when someone inputs a word (if it's incorrect) and returns a Json string of suggestions for the user to choose from, and then be able to replace the incorrect word. It seems to work the first couple of times but then Sa

[jQuery] Re: Get the onclick method of an element

2009-09-15 Thread MiKiTiE
expected doesn't return what I need - DoSomething(this); > > On Sep 15, 3:30 pm,MiKiTiE wrote: > > > Perhaps then you can extract it as text like I mentioned in my first > > post, then store it in a variable? > > > As I am not sure what your function does or

[jQuery] Re: Jquery gradient and tabs

2009-09-15 Thread MiKiTiE
Ah, since I am not familiar with this implementation of tabs (only the jQuery built in one) I'm not sure I know the answer, sorry. Have you contacted the creator of those tabs? On Sep 15, 1:38 pm, Anush Shetty wrote: > On Tue, Sep 15, 2009 at 5:55 PM,MiKiTiE wrote: > > > H

[jQuery] Re: Get the onclick method of an element

2009-09-15 Thread MiKiTiE
at is what jQuery is there for :-) On Sep 15, 9:50 am, sirrocco wrote: > Well .. that's the problem - i tried it like that and it didn't work. > > When setting the attribute back on the link, the this in DoSomething > (this); is not the link, but the window. > >

[jQuery] Re: Jquery gradient and tabs

2009-09-15 Thread MiKiTiE
our tabs are not working properly. On Sep 15, 12:15 pm, anush wrote: > On Sep 14, 3:58 pm, MiKiTiE wrote: > > > Could you provide a link? > > http://wildindia.org/mwtest/grad.php > > If you see the there, the Tab #2 is inactive. > > - > Anush

[jQuery] Re: Get the onclick method of an element

2009-09-15 Thread MiKiTiE
Sorry I should have written $('a').attr('onclick',onclick); (setting the attribute value not the inner text!) On Sep 15, 9:09 am, sirrocco wrote: > Let's say you have a : > > asd > > I want to get the onclick text in a variable - something like > > var onclick = $('a').attr('onclick'); > > The

[jQuery] Re: Get the onclick method of an element

2009-09-15 Thread MiKiTiE
You will need to use the text() attribute to do this. so, once you do: var onclick = $('a').attr('onclick'); You then place it where you want this way: $("a").text(onclick); However, if you have several links on a page it will be better to assign it to an id. Plus, since "onclick" is a javasc

[jQuery] Re: Flipv Vertical Text and extra space

2009-09-14 Thread MiKiTiE
Flipv only supports Verdana font fully, is this the font you're using? Also, do you have a link to your code, and which browsers are causing problems? Mike On Sep 14, 11:24 am, Paul Collins wrote: > Hi all > > I'm currently using the Jquery Flipv plugin, which works well. The only > problem is

[jQuery] Re: Flipv Vertical Text and extra space

2009-09-14 Thread MiKiTiE
Oh, and also - there's a little drop down box in the top right corner which will allow you to change the language to English :-) On Sep 14, 11:24 am, Paul Collins wrote: > Hi all > > I'm currently using the Jquery Flipv plugin, which works well. The only > problem is, some words have extra paddi

[jQuery] 'key' related events throw up warnings in FF

2009-09-14 Thread MiKiTiE
Hi everyone Everytime I try to use a keyup/keypress/keydown event in my code, I get a warning in my Firebug whenever it is fired: >> The 'charCode' property of a keydown event should not be used. The value is >> meaningless. I'm not quite sure what this means, but I'm guessing it's because I h

[jQuery] Re: Browser Stop call's ajax.Error

2009-09-14 Thread MiKiTiE
Probably because you're sending the data to the url, but stopping the process before it can produce a result. On Sep 13, 7:52 pm, "nirazue...@gmail.com" wrote: > Hi, I've noticed that when I click the Stop button on the browser, or > navigate to another page, jQuery.ajax calls the error event. >

[jQuery] Re: Removal of element before body

2009-09-14 Thread MiKiTiE
To remove them you could use $(function() { $("br").remove(); }); but to find where they are is more difficult, as you could end up removing key elements like the tag itself. If it's placing it where you don't want it to, maybe the script needs tweaking? Could you possibly post it here, or e

[jQuery] Re: Jquery gradient and tabs

2009-09-14 Thread MiKiTiE
Could you provide a link? On Sep 14, 3:38 am, Anush Shetty wrote: > When I try using jquery gradient plugin with tabs, I see that the tabs > get disabled. > > Does anybody here know the reason behind it ? > > -- > Anush

[jQuery] How to unbind data?

2009-09-04 Thread MiKiTiE
Hi everyone I'm trying to write a function that will pass through the id of a clicked element, and then use that id for spellchecking the word that's been clicked on. However, although this seems to work, when i click on another word, it returns the previous corrected word rather than the new one

[jQuery] Re: Help with using the 'not' selector

2009-08-24 Thread MiKiTiE
to the body. You can also check > visibility: > > $().click(function(){ >     var opt = $(#'fm_options'); >     if( this != opt[0] && opt.is(':visible') ) >       opt.fadeOut('fast'); > > }); > > On Aug 17, 6:27 am,MiKiTiE wrote:

[jQuery] Re: Help with using the 'not' selector

2009-08-17 Thread MiKiTiE
Thanks for your reply. This is pretty much what I want - except I need my div to appear when a particular link is clicked, but since I've put the fire in the body, it's basically doing the fadeOut on every click (which stands to reason since everything is the body!) So really what I need is somet

[jQuery] Re: Replace string characters using jQuery

2009-08-14 Thread MiKiTiE
est = searchval.replace(/ /g,'+') > > But that isn't much better. What you really ought to use is   > encodeURIComponent: > >         var test = encodeURIComponent(searchval); > see how that works. > > --Karl > > ____ > Karl Swedbergwww.english

[jQuery] Help with using the 'not' selector

2009-08-14 Thread MiKiTiE
Hi group, I would appreciate a point in the right direction here, as I seem to be getting lost. I would like to be able to write a function which will trigger when the mouse is clicked, but only do a certain thing based on WHAT is clicked. Which is why I figured the "not" selector would be useful

[jQuery] Re: Live function being weird

2009-08-05 Thread MiKiTiE
If I remember correctly the live event can only handle tag elements not specific names. So for example, $("form").live('click', function () { }); would work. Perhaps you can use an id on your form, maybe that would work? Do you have to use the live event specifically or were you just curious as to

[jQuery] Replace string characters using jQuery

2009-08-05 Thread MiKiTiE
Hi Everyone First post - please be gentle. I am running a search on my web site which uses jQuery to take the search terms and build up a URL based on them. For example, if someone searches for "chair" my URL will be appended with /chair/. However, if someone searches for something which is tw