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.
y: 0}, 350)
> .remove();
>
> you are actually chaining your events to occur one after the other on a
> specific element or group of elements
>
> in the first piece of code you shared you. it would want to remove the
> element as it animates, not after.
>
> On Fri, Jul 31, 2
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
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 wrote:
>
> > Hi,
>
> > I need to get all the TABLE HTML code
Hi,
I need to get all the TABLE HTML code within the 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 do:
I
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=en&lnk=gst&q=brakes2k3#5e163538fcb0c139
Otherwise, you can try removing "http://localhost:3314"; from the
Best book for me were jQuery In Action and Learning jQuery.
On May 18, 3:37 pm, alex 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 jQuery), or just goo
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
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, 丁亮 wrote:
> use jsoncallback=? in the end of url
I was wondering if I have another option without going this route?
On May 5, 5:08 pm, James wrote:
> What about going through a proxy (e.g. a PHP script that fetches the
> XML content from wcf.mstsc.com domain) hosted on your current domain?
>
> On May 5, 11:01 am, bittermonkey wro
Hi,
Here's my code:
$.ajax({
type: "GET",
url: "http://wcf.msts.com/WcfService.svc/
GetSponsorSearch?keyword=tr&eventsessionid=2",
dataType: "xml",
success: function(xml) {
ale
; 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
>
Fixed this. File versioning problem.
On Feb 26, 10:04 am, bittermonkey 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 eve
Nevermind, this was a versioning problem on the jquery and ui plugin
javascript files.
On Feb 24, 11:35 am, bittermonkey 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 wrote:
&
This is my code:
---
$(function(){
/* Modal Dialog Box Configuration */
$("#addproductsForm").dialog({
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
---
Products
});
>
> -Hector
>
> On Tue, Feb 24, 2009 at 6:48 AM, bittermonkey wrote:
>
> > Steve, yes I did try to use , , and
> > but to no success.
>
> > Hector, it still does the same thing even with the preventDefault()
> > method in place.
>
> > On
Steve, yes I did try to use , , and
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 wrote:
> Try preventing the default action of the event:
> $("#btnAddSession").click(function(event){
> $("#addpro
arningjquery.com
>
> On Feb 23, 2009, at 12:56 PM, bittermonkey wrote:
>
>
>
> > 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 th
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
element's index?
On Feb 2, 3:08 pm, "Mauricio \(Maujor\) Samy Silva"
wrote:
> Try:
>
> $('input[type=text]').each(function(i) {
> $(this).click(function() {
> alert(i);
> });
> });
>
> Maurício
>
> -Mensagem Original-
>
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
ositioned element, and when you press enter perform an
> action that is associated with that element.
>
> On Jan 23, 4:32 pm, bittermonkey wrote:
>
> > The code is a bit overwhelming for just the highlight functionality.
> > Thanks anyway.
>
> > On Jan 23, 4:1
On Jan 23, 4:00 pm, bittermonkey wrote:
>
> > How do I initialize a hover on a 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 p
How do I initialize a hover on a 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 and so
yep that's it.
On Jan 22, 4:23 pm, jay wrote:
> Perhaps "table" is case-sensitive?
>
> On Jan 22, 3:53 pm, bittermonkey wrote:
>
> > Hi,
>
> > I need to know where I am doing wrong. The ALERT message in my jquery
> > code doesn't see
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 Elements in the XML response
and create a 3-column HTML table from its child nodes. Thanks in
advance.
This is my j
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" wrote:
> Do you have Firebug? If not, get it and enable the Console and Script tabs,
> then enter these statements into the console input
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 do
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]);});
30 matches
Mail list logo