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
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
Sorry I should have written
$('a').attr('onclick',onclick);
(setting the attribute value not the inner text!)
On Sep 15, 9:09 am, sirrocco xavier...@gmail.com wrote:
Let's say you have a :
a href=# onclick='DoSomething(this);'asd/a
I want to get the onclick text in a variable - something
direct to jquery. That may be why your tabs are
not working properly.
On Sep 15, 12:15 pm, anush anushshe...@gmail.com wrote:
On Sep 14, 3:58 pm, MiKiTiE mikiji...@googlemail.com wrote:
Could you provide a link?
http://wildindia.org/mwtest/grad.php
If you see the there, the Tab #2 is inactive
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 why it needs to be applied
this way, I can't solve the problem exactly - but why not just use an
event instead of an onclick in the element? That is
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 anushshe...@gmail.com wrote:
On Tue, Sep 15, 2009 at 5:55
Ok, I've done some tests and here is my suggestion.
First of all, should just ask - I assume you are calling it after the
element? Probably is obvious, but thought I'd check.
Ok, here's the deal: onclick is not really an attribute but a mouse
event. Therefore jQuery will take the contents as a
Could you provide a link?
On Sep 14, 3:38 am, Anush Shetty anushshe...@gmail.com 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
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 head 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,
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 pauldcoll...@gmail.com wrote:
Hi all
I'm currently using the Jquery Flipv plugin, which works well. The only
problem is, some
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
have
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 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
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 pauldcoll...@gmail.com wrote:
Hi all
I'm currently using the Jquery Flipv plugin, which works well.
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
Thanks for your help but this is still not working. All that happens
is as soon as I click the word to make the div appear, it fades out
again.
I'm probably being totally thick here and missing something really
simple but I just cannot figure it out. All I need is for the div to
appear when
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
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.
better. What you really ought to use is
encodeURIComponent:
var test = encodeURIComponent(searchval);
see how that works.
--Karl
Karl Swedbergwww.englishrules.comwww.learningjquery.com
On Aug 5, 2009, at 5:00 AM, MiKiTiE wrote:
Hi Everyone
First post - please
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 two
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
20 matches
Mail list logo