How do I add a callback function to a plugin so that i can execute
another function after the plugin completes its own processes.
Thanks in advance.
Please tell me why the remove() doesn't work from this call:
$(this).parents(.leftbox:first).animate({height:hide,
opacity:hide}, 350, , function(){$(this).remove()});
while this one works:
$(this).parents(.leftbox:first).animate({height:hide,
opacity:hide}, 350).remove();
Thanks in advance.
has:http://brandonaaron.net/blog/2007/06/17/jquery-snippets-outerhtml
http://brandonaaron.net/blog/2007/06/17/jquery-snippets-outerhtml
Ted
On Thu, Jul 16, 2009 at 3:06 PM, bittermonkey brakes...@gmail.com wrote:
Hi,
I need to get all the TABLE HTML code within the body tag
Hi,
I need to get all the TABLE HTML code within the body tag for a
content-generating application. I'm trying to use the html() method,
but it only gets the inner HTML. I also tried clone(), but does the
same thing. Or maybe I'm using it wrong. Here's an example to clarify
what I wanted to
Are you getting the Access to restriced URI denied error? If you
are, here's my old post:
http://groups.google.com/group/jquery-en/browse_thread/thread/b6579cd6f6c0a160/5e163538fcb0c139?hl=enlnk=gstq=brakes2k3#5e163538fcb0c139
Otherwise, you can try removing http://localhost:3314; from the url
Check in Firebug if the service returns data or a 501 error. Its
under CONSOLE. You should allow it to Show XMLHTTPRequests
Also,
1. The URL part seems to have an extra space after HTTP.. or maybe
its just a typo:
url: http: //localhost/BoATransformation/Survey.asmx/
GetSurvey
2. Or try
Best book for me were jQuery In Action and Learning jQuery.
On May 18, 3:37 pm, alex boba...@googlemail.com wrote:
Ah. I'm sure this sounds dunce-y because 'jQuery does it for me', but
is a solid grounding in Javascript necessary to a solid grounding in
jQuery (or at least, being able to use
I won't be able to rewrite the service cause we also have cold fusion
sites consuming the xml data. I guess I am stuck with creating
another asp.net page that will call the service.
Thanks for helping out everyone.
On May 5, 9:16 pm, 丁亮 bluker2...@gmail.com wrote:
use jsoncallback=? in the
Hi,
Here's my code:
$.ajax({
type: GET,
url: http://wcf.msts.com/WcfService.svc/
GetSponsorSearch?keyword=treventsessionid=2,
dataType: xml,
success: function(xml) {
, bittermonkey brakes...@gmail.com wrote:
Hi,
Here's my code:
$.ajax({
type: GET,
url: http://wcf.msts.com/WcfService.svc/
GetSponsorSearch?keyword=treventsessionid=2,
dataType: xml,
success
Once btnAddSession button is clicked, the div with the
addproductsForm ID should open as a modal dialog box. In Firefox it
opens properly while in IE it submits the page even with return false;
HTML
---
h3Products/h3
!-- Placeholder for ajax results --
div
This is my code:
---
script language=javascript type=text/javascript src=/js/
jquery-1.3.2.min.js/script
script language=javascript type=text/javascript src=/js/
jquery-ui-personalized-1.6rc6.min.js/script
Nevermind, this was a versioning problem on the jquery and ui plugin
javascript files.
On Feb 24, 11:35 am, bittermonkey brakes...@gmail.com wrote:
Yep I am. I event tried event.stopPropagation() but still the same
thing. Can I say I hate IE?
On Feb 24, 10:26 am, Hector Virgen djvir
Fixed this. File versioning problem.
On Feb 26, 10:04 am, bittermonkey brakes...@gmail.com wrote:
Once btnAddSession button is clicked, the div with the
addproductsForm ID should open as a modal dialog box. In Firefox it
opens properly while in IE it submits the page even with return false
a default overlay style which you can modify or overide, using css in a
stylesheet, rather than in js.
If you need any further help, please note there's a dedicated jQuery UI
list:
http://groups.google.com/group/jquery-ui
Thanks.
- Richard
On Thu, Feb 26, 2009 at 12:33 PM, bittermonkey brakes
Steve, yes I did try to use button, a, input=button and
input=submit but to no success.
Hector, it still does the same thing even with the preventDefault()
method in place.
On Feb 23, 11:43 pm, Hector Virgen djvir...@gmail.com wrote:
Try preventing the default action of the event:
();});
-Hector
On Tue, Feb 24, 2009 at 6:48 AM, bittermonkey brakes...@gmail.com wrote:
Steve, yes I did try to use button, a, input=button and
input=submit but to no success.
Hector, it still does the same thing even with the preventDefault()
method in place.
On Feb 23, 11:43 pm, Hector Virgen
hi,
I have this snippet which works fine in Firefox but not in IE6/7.
Somehow in IE instead of opening the modal dialog box, it gets posted
to the submit page when the button with btnAddSession Id gets
clicked.
$(#btnAddSession).click(function(){
$(#addproductsForm).dialog(open);
return false;
hard to guess, but is it
possible that you have more than one element with either an id or a
name of btnAddSession?
--Karl
Karl Swedbergwww.englishrules.comwww.learningjquery.com
On Feb 23, 2009, at 12:56 PM, bittermonkey wrote:
hi,
I have this snippet which works
Hi,
How do I get the index of the currently clicked textbox? I have 5
textboxes in a form, all of which I am binding a click event. Here is
the code:
$(#associate-form input[type=text]).bind(click, function()
{
alert(this); //what is its index position from the 5
other
?
On Feb 2, 3:08 pm, Mauricio \(Maujor\) Samy Silva
css.mau...@gmail.com wrote:
Try:
$('input[type=text]').each(function(i) {
$(this).click(function() {
alert(i);
});
});
Maurício
-Mensagem Original-
De: bittermonkey brakes...@gmail.com
Para: jQuery (English) jquery-en
How do I initialize a hover on a A HREF tag using cursor keys in
jQuery? It's similar to how google highlights its autocomplete
results. So, from google.com, type the letter a in the searchbox
then press the Down Arrow Key and notice how the first item in the
autocomplete box gets highlighted
, bittermonkey brakes...@gmail.com wrote:
How do I initialize a hover on a A HREF tag using cursor keys in
jQuery? It's similar to how google highlights its autocomplete
results. So, from google.com, type the letter a in the searchbox
then press the Down Arrow Key and notice how the first
absolutely positioned element, and when you press enter perform an
action that is associated with that element.
On Jan 23, 4:32 pm, bittermonkey brakes...@gmail.com wrote:
The code is a bit overwhelming for just the highlight functionality.
Thanks anyway.
On Jan 23, 4:17 pm, jay jay.ab
Hi,
I need to know where I am doing wrong. The ALERT message in my jquery
code doesn't seem to get hit when I put a breakpoint in firebug. The
plan is to loop through all the TABLE Elements in the XML response
and create a 3-column HTML table from its child nodes. Thanks in
advance.
This
yep that's it.
On Jan 22, 4:23 pm, jay jay.ab...@gmail.com wrote:
Perhaps table is case-sensitive?
On Jan 22, 3:53 pm, bittermonkey brakes...@gmail.com wrote:
Hi,
I need to know where I am doing wrong. The ALERT message in my jquery
code doesn't seem to get hit when I put
Got it. Thanks Mike. So this code would have made better sense:
$(button:first).click(function(event){alert(this);})
On Jan 13, 5:52 pm, Michael Geary m...@mg.to wrote:
Do you have Firebug? If not, get it and enable the Console and Script tabs,
then enter these statements into the console
Why does this work?
$($(button)[0]).bind(click, function(event){return AlertOnClick
(this + not + $(button)[0]);});
And why does this DOESN'T?
$(button)[0].bind(click, function(event){return AlertOnClick(this
+ not + $(button)[0]);});
I'm fairly new to the framework and I've been messing around a bit.
These below confuses me.
1. Why is this snippet not working? Firefox's error console throws
an error saying $(button)[0].bind is not a function
$(button)[0].bind(click, function(event){alert(this)});
2. And why does this
29 matches
Mail list logo