Yeah, the response isn't being inserted using the $
('#'+holder).html(msg); Usually firebug will tell me file not found or
error from the file, but I'm getting nothing. I'll try your approach,
see what happens.
I have a small function outside of the onload method of the rest, so
it'll only be loaded for a specific page.
$('#apost :text').change(function(){
var entry = $(this).val();
var name = $(this).attr("id");
var holder = name+"holder";
$('#'+name).val('');
$.
ave if you're doing HTML).
>
> To delay the second effect, you can use setTimeout, like so (untested):
>
> $('slidediv').slideUp('slow', function() {
> setTimeout(function() {
> $('fadediv').fadeIn('slow');
> }, 750);
I'm trying in slideUp a div then fade in another when it has completed
the slide. I tried using the fadeIn as a callback function
$('slidediv').slideUp('slow', function() {
$('fadediv').fadeIn('slow');
});
Is there a way to delay the fade, everything happens so fast you can't
really tell the new
Never mind I got it working by stumbling across using CDATA in the xml
response.
On Sep 2, 1:38 am, atomicnuke <[EMAIL PROTECTED]> wrote:
> Is there a way to do this? I thought just placing the response in a
> div with html() would work, but it ignored the 's.
Is there a way to do this? I thought just placing the response in a
div with html() would work, but it ignored the 's.
Was hoping someone could shed some light on this, but I'll post back
if I find the problem, just hard with no errors.
Still trying, if I comment out the $.ajax section and put an alert
after that section the code runs, but once I uncomment the page just
processes the default way. I get no errors in firebug or anything, so
not sure why it just seems to skip the function.
I have the following function, it gets the data in a form and sends it
to be verified before posting.
$("#commentform form").submit(function(){
var uname = $("#commenter").val();
var email = $('#email').val();
var url = $('#website').val();
Yeah, guess I kind of didn't put that in a question format, again,
thanks for the help.
Yeah, guess autocomplete will work, to lazy to write a timer function,
lol. Quick unrelated question, I ran across a plugin for jQuery that
if you inserted content in with Ajax the links won't be recognized by
jQuery, but the plugin helps to fix that.
I wrote a function that check text fields in a form using change, it
works for the most part. But if say they go to the email field and the
remember function of the browser pops up and they click that instead
of typing it, the change method doesn't detect it. There a way to deal
with this?
So simple, thank you!
I'm trying to get the text of what I clicked for later in the
function, but can't seem to pass it.
$("#pnav li a").click(function(){
var page = $(this).text();
$("#article").slideUp("slow", function(page){
alert(page);
});
return false;
});
If I te
I have the following code and was wondering how you stop a link from
forwarding to the url when clicked? I'd assume it'd go inside the
click, but couldn't find a way looking through the Visual jQuery.
$("#pnav li a").click(function(){
$("#article").slideUp("slow");
});
Also, not sure if
I hope this isn't a double post, my other one was over 12hrs ago and
it never displayed. I'm trying to get the text out of a tag, I can
do this if I set an id name, but I don't want to id everything, since
with jQuery I don't need to. The premise is I'm clicking a link and it
gets two values and
$(document).ready(function(){
$("#comments span h5 a").click(function(){
var author = $(this).parent("span").next("p").text();
alert(author);
})
});
Minion(Reply)
Back to normal status
I'm trying to figure out how to grab the text between the
Yeah, I'm an idiot, the jQuery script was uploaded to the wrong
directory for whatever reason. Sorry for the pointless post, lol. So
far I'm tinkering with it and truly enjoying the potential I see
jQuery offering. Thanks for not being mean about it!!
I've been trying to follow the tutorials for the simple things and
they aren't working. This is just a short snippet:
$(document).ready(function(){
$("a").click(function(){
alert("Thanks for visiting!");
});
});
Click
But I just get an error in firebug '$ is not defined" on
19 matches
Mail list logo