Hi,
I'm using $.ajax with a dataType of xml. The XML document I'm getting
has a node that contains a bunch of encoded HTML. Sample:
[jQuery] Re: .find() not working on node in XML document
Thanks for the tip Michael. What I ended up doing was switching from
$.get to $.ajax, and specifying my dataType as XML, and it works
perfect now:
http://docs.jquery.com/Ajax/jQuery.ajax#options
I've got a semantic XML document, for which I'm using $.get
successfully to extract and nodes. The
node does not work, however. It returns blank. Strange, since I can
see in Firebug that $(this) has 4 children, and link is in there.
Here's the code:
$(data).find('item').each(function() {
Does anyone know of college-level jQuery training/certification
courses? I'm looking for something like Zend's PHP certification, but
for jQuery. Thanks!
I have just tried putting the search control into an iframe and the
same instances occur! Double Dang! Is there no way to have selectable
form fields in a hovered div? Please, any insight is greatly
appreciated.
On Jul 30, 11:06 am, jeff wrote:
> I am trying to implement a div containing
I am trying to implement a div containing an advanced search form drop
down on hover and I have everything working (only in FF) except for
when I try to add any sort of animation or speed to the '.show' or
'.hide' effect. When I try to add speed or seemingly any other effect
to the div, the select
Upon further testing, the said script doesn't work in IE, only in FF.
In IE (6,7, and 8) the hover event is fired when an option is
selected... bummer :(
On Jul 30, 10:25 am, jeff wrote:
> I am trying to implement a div containing a form drop down on hover
> and I have everything wor
I am trying to implement a div containing a form drop down on hover
and I have everything working except for when I try to add any sort of
animation or speed to the '.show' or '.hide' effect. When I try to add
speed or seemingly any other effect to the div, the select elements of
the search form f
On Jul 13, 3:54 pm, Jeff Nouwen wrote:
> My PHP script is being called through CodeIgniter, but I don't
> immediately see anything in its code that would cause the addition of
> the semi-colon.
And upon closer inspection of CodeIgniter's source, it is indeed the
cause of my
the addition of
the semi-colon. At first I thought it was a safeguard when handling
data that might have JSON delimiters contained within, but the value
comes through unchanged; it's only its name that is modified.
Is this a jQuery issue, or does my bug lie elsewhere? Thanks!
- Jeff
looks like this could of good help but ur next link doesnt seems to work
Also a request, am using cakephp framework so could u help
in showing how to use jquery with cakephp and retreive values from jquery to
a controller
in cakephp..
this will be a challenge i bet..
include the cakephp + jquery usage and how to get the value from jquery to a
controller in cakephph
with refrence site or examples
On Tue, Jul 7, 2009 at 12:42 PM, Refael wrote:
>
> Hello all,
>
> I'm kicking off an Israeli Users group, with a users meet-up. Do you
> have recommendations for th
ha ha good work
:)
On Tue, Jul 7, 2009 at 4:29 PM, weidc wrote:
>
> solved it by myself.
>
> endpreis =Math.round(endpreis*100)/100;
> endpreis = endpreis+" foo";
> endpreis = endpreis.replace(/ foo/,"");
> var cent = endpreis.split(".");
>
> if(cent[1].length == 1)
> {
>endpreis = endpr
Since jQuery.browser and jQuery.browser.version are depreciated as of
jQuery 1.3, what is the preferred way to check if the browser (in this
case IE6) needs to have the "BackgroundImageCache" set?
The closest match I see is jQuery.support.opacity, but I'm not sure if
that is pertaining to how the
t one that links to a local
resource instead.
My only hang-up is I'm not sure how to check if the iframe or img is
done loading.
Any help would be greatly appreciated.
-Jeff
Worked! Thanks!!!
On Jun 2, 2:58 pm, waseem sabjee wrote:
> something like this
>
> var mycolor = "#000";
> $("h1").css({color:mycolor });
>
> this is your statement
>
> 'color', ' + color + '
>
> it should be
>
> co
Hello, I am trying to get the color of an element and change the color
of another element with that color. Does this make sense?
What is wrong with this? I would like all of the H1 tags to inherent
the color of ".ui-state-error". Thank you in advance!
$(function(){
var color =
The problem is that while this section of your code is waiting for the
ajax response:
> $.get('ajax.txt', function(data) {
> splitted = data.split(',');
> });
This section is already running...
> var slide = $(elm).attr('slide');
> var total = splitted.length;
> var next = slide+1
> var pic
Without the markup it's hard to provide a complete solution, but if I
run this it works for me:
$(document).ready(function(){
// Start with faked $.get() results [since that part
works]
var received = 'image1.png,image2.png,image3.png';
console.log
I have a script that is being inserted dynamically via another
script. The code in that script is wrapped inside the $(window).load
() event because it requires the images on the page to have all
loaded. In some browsers it works fine, but in others it seems not to
fire because the page has alre
As far as safari / chrome goes you can use webkit- similar to moz-
The only real browser behind the times is IE.
On May 2, 2:41 pm, kiusau wrote:
> On May 2, 5:21 am, "Richard D. Worth" wrote:
>
> > One of the best ones I've seen lately is DD_roundies, by Drew Diller:
> >http://www.dillerdes
I'm not sure what your ultimate goal is, but you might try the cycle
plugin. It has a lot of flexibility.
http://plugins.jquery.com/project/cycle
On Apr 24, 8:07 pm, adw999 wrote:
> I tried using slideToggle but the screen flickers badly, any reasons
> for this?
>
> Thanks
>
> On Apr 25, 12:5
What add-ons do you have installed in Firefox? And do you have a
public page we can test with our Firefox clients?
On Apr 4, 9:07 am, "bjorn.frant...@gmail.com"
wrote:
> I've seen this post now, but I can's see my problem mentioned there.
>
> My extension breaks the toolbar in Firefox if I hav
Hi all ...
First, my knowledge of javascript in general and jQuery in particular is
relatively weak, but growing. Just a disclaimer :)
I'd been using the tableFilter plugin on another project
(http://ideamill.synaptrixgroup.com/?page_id=16), it's main drawback was
that it was old & no longer ma
d Chrome
>
> On Mar 2, 11:34 am, Jeff Gentry wrote:
>
> > Hello ...
>
> > First, apologies if this is effectively a double post, I didn't see my
> > initial message go through, but it might be google groups being bogged
> > down. I'm trying to get t
Hello ...
First, apologies if this is effectively a double post, I didn't see my
initial message go through, but it might be google groups being bogged
down. I'm trying to get tablesorter to work - it works AOK when I
look at examples online, but not when I'm driving it myself. I'm
trying to st
Hello ...
I was looking to experiment w/ the tablesorter plugin - went &
downloaded it, fired it up, and no tablesorter appears. So in trying
to start w/ a minimal example I created a file w/ just the tablesorter
sample code, still no dice. Next I theorize that perhaps using 1.3.1
is a problem,
Hi Jecki,
Thank you for your example. I have tested it, but may be it is not
work in IE 6.0.
Could you give me any updated?
Regards,
Jeff
On Nov 12, 11:30 pm, Jecki <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I manage to get the things up herehttp://www.uphigh.org/tab/index.ht
I am trying to use tinyMCE with the jEditable plugin and sometimes get
an error. the html editor won't show up and i get the error
t.win.document is null. anyone know what this is and if it's an MCE
issue or jEditable?
thanks
Jeff
On Sep 14, 4:02 pm, Mika Tuupola <[EMAIL PROTECTED]
Here is a simple mock up of the elements in question. The error persists when
you click the 'button' to upload an image.
http://prolabor.com/testform/
Thanks for your help with this matter.
-jeff
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED]
Due to the sensitivity of the application, I will put something similar
together tonight that best reproduces the scenario.
Thanks,
-jeff
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jörn
Zaefferer
Sent: Thursday, October 16, 2008 5:10 PM
x27; state?
Thanks in advance for any help,
-jeff
--
View this message in context:
http://www.nabble.com/-Forms-Plugin--Reloading-Refreshing-an-iFrame-after-success-tp20015952s27240p20015952.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
orm, "validator");
validator.settings["on" + event.type] && validator.settings["on" +
event.type].call(validator, this[0] );
}
Is there any way to have the Validate plugin not check anything in this div,
iframe, or form?
Thanks in advance for any assistance,
-jeff
--
View this
k the field as valid even though the field
is still blank. I looked at the Marketo demo and the same behavior
occurs there. Is there a workaround to get it to keep the field
invalid after you go in and out of the textbox?
Thanks,
Jeff Papp
Try to append to the thead tag instead of the table tr tag.
I want to have one submit button that validates and processes the
form, and I want one inside the form for a different purpose. However
they both validate the form. How do I stop it from validating?
page with the carousel and
the bug presents itself again.
Jeff
s, then it'd be nice if you could publish
what the pieces are so that we (the jQuery using public) know what we
should be looking out for.
Thanks for the reply, even if we disagree on "compatible". :-)
Jeff
On Jun 19, 9:43 am, "John Resig" <[EMAIL PROTECTED]> wrote:
I'm working on a site and the js is crashing Safari 2.0.4, so I went
back to check the compatibility page and it says it's supported. I ran
the test page ( http://jquery.com/test/ ) in Safari 2.0.4 multiple
times and it crashed EVERY time BUT at different places.
So...my question is, is jQuery re
I noticed this message after I posted mine, but apparently this
"this.funcResize()" function is also what's causing IE 6 and 7 to
scrollback when an item in the list is clicked. Here's my message:
http://groups.google.com/group/jquery-en/browse_thread/thread/188eed4ee3d91e80/79939adb21fd4d30?lnk=
how it could be fixed?
Thanks,
Jeff
I have been working with the addSlideFn. I love the idea, but I am
having some problems implementing it. I have some ideas for improving
it, but first here is what I ran into:
I got addSlideFn to work in a somewhat simple case. Then I was having
problems though when I tried to set a delay. The
again, thanks for your help. It works great.
> Here's a demo that shows how to do immediate transitions:
>
> http://www.malsup.com/jquery/cycle/immediate.html
>
> Mike
Great - works perfectly.
thanks!
>
> I updated cycle so that you can specify the trigger event for the
> pager. Here's a demo:
>
> http://www.malsup.com/jquery/cycle/pager5.html
>
> Mike
I got this to work by hacking the original code but not with a custom
transition. I am sure there is a more elegant way to do it (if
anybody knows please post it!)
You can hover over the pager to go through the slides. I hacked line
281 in the buildPager function:
from:
$a.bind('click',function
a 0 is on and an x is off.
thanks for any help..
-Jeff
is there a user-contributed cycle transitions repository? I
think that would be great to see what people come up with.
thanks.
-Jeff
ord is useful only inside javascript code (it won't work in a
> selector).
>
> JK
>
>
>
> -----Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
>
> Behalf Of Jeff
> Sent: Thursday, April 10, 2008 7:24 PM
> To: jQuery (English)
&
'scuse me for the noob question here...
i have statements like this:
$(".highlight").removeClass;
$("this:even").addClass("shaded");
And I don't think I'm using "this" or :even correctly; it doesn't work
=)
Googling has turned up some different ways that the "this" keyword is
used, and I'm not
Uhh, nevermind I guess. I'm just combining them into one table and
using CSS to display them in different positions. Not really what I
wanted, but it works.
On Apr 4, 2:01 pm, Jeff <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm relatively new to jQuery and I'm using
anks in advance!
-Jeff
yeah,
I am having the same issue.
Anyone have a solution??
thanks!
On Jan 8, 12:06 pm, jpl80 <[EMAIL PROTECTED]> wrote:
> Using toggle() with a checkbox disables the checkbox's ability to check
> itself on and off.
>
> http://tinyurl.com/yo9onzhttp://tinyurl.com/yo9onz
>
> --
> View this messa
This solved my problem. Thank you.
On Jan 8, 2008 2:37 PM, Alessandro Feijó <[EMAIL PROTECTED]> wrote:
> Why dont you use .click trigger?
>
>
> Something like
>
> $("#precheck").click(
> function () {
> $(".preregbox").toggle('slow');
> },
>
I'm having a problem with toggle() and was hoping someone could help
me. Using the toggle function on a checkbox seems to have disabled the
checkbox's ability to check on and off.
http://tinyurl.com/yo9onz";>http://tinyurl.com/yo9onz
My code:
$(document).ready(function(){
$("#precheck").tog
You can also use $(expr).empty().
On Nov 21, 1:49 pm, mdrisser <[EMAIL PROTECTED]> wrote:
> The problem is that .remove() removes the actual element not the text
> inside of it.
>
> This works:
> $("a.collapse").html("(-)");
>
> On Nov 21, 10:35 am, FrankTudor <[EMAIL PROTECTED]> wrote:
>
>
>
> >
Uh, why are you sending that email out? That looks like you are
phishing.
On Nov 19, 12:34 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote:
> Pretend it's html. As if it was a div and a span. It works the same way.
>
> $("mtemplate receiver").text()
>
> Glen
>
> On Nov 18, 2007 7:04 PM, [EMAIL PROT
I am a little confused on the syntax for :contains. I want to be able
to pass in a variable to the parameter for :contains. It can take
either quoted or non-quoted text, which on one hand can be convenient,
but on the other is difficult if you are trying to pass a variable.
Here is the test cas
3/12/2007
[/code]
Thank you
~JeFF
I'm having the same issue with IE. Works in FF.
On Oct 17, 1:51 pm, cfdvlpr <[EMAIL PROTECTED]> wrote:
> Here's some code I have that works great in Firefox.
> But in IE, it this line does nothing: $
> ('#bottomHalfofThickbox').html(updatedSamples);
>
> function redecorate(){
> $
form the docs:
"Note: Avoid to use this to load scripts, instead use $.getScript. IE
strips script tags when there aren't any other characters in front of
it."
Also, it doesn't seem like you have a callback or anything that calls
the code that gets loaded into the dom. unless I'm missing somethi
es care of the
> eval'ing for you.
>
> --Erik
>
> On 8/16/07, Michael Geary <[EMAIL PROTECTED]> wrote:
>
>
>
> > > From: jeff w
>
> > > I am new to jQuery, and have started to play with JSON,but I
> > > need some info about how I refe
> variable), don't necessarily have this special property.
>
> --Erik
>
> On 8/16/07, jeff w <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello,
>
> > I am new to jQuery, and have started to play with JSON,but I need some
> > info about how I refer to the
Hello,
I am new to jQuery, and have started to play with JSON,but I need some
info about how I refer to the JSON Object once it is returned from
the server. I know I can loop through the contents of the object, and
I can use json.count, but I am really unsure about the correct syntax
to target t
Hello,
I am new to jQuery, and have started to play with JSON,but I need some
info about how I refer to the JSON Object once it is returned from
the server. I know I can loop through the contents of the object, and
I can use json.count, but I am really unsure about the correct syntax
to target t
Hi,
Is there a way to take a normal event object and convert it to a jQuery
event object so everything gets normalized? Or can you only use the jquery
event stuff when you use the jQuery events themselves?
Hope this makes sense.
Thanks,
Jeff
$(o).mouseout( function(event) {
console.log('mouseout');
$(event.target).trigger('myEvent');
}).bind("myEvent",function(event) {
console.log('my Event');
});
Any help is appreciated!!
Jeff
sorry didn't mean to hijack this email - i'll send a different one!
On 7/24/07, Jeff L <[EMAIL PROTECTED]> wrote:
Hi everyone,
I'm trying to bind a custom event and then use trigger() to trigger it,
but it's not working for me.
Here's my code, does anyone
$(o).mouseout( function(event) {
console.log('mouseout');
$(event.target).trigger('myEvent');
}).bind("myEvent",function(event) {
console.log('my Event');
});
Any help is appreciated!!
Jeff
I am in the same boat (don't have the luxury of playing around).
Jörn's version has been pretty stable, with the exception of the
issues documented. The one problem I have is similar to yours, in that
IE6 generates an error when mousing over.the selection list.
Unfortuanely, at least 90% of the us
Will do what you suggested and get back to you.
On Jul 12, 4:18 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Jeff Fleitz wrote:
> > So, for all you gurus out there, how do you track down this type of
> > issue in IE6? Since Firebug doesn't report an error, that doe
t
help. Do you use other http proxies like Fiddler?
Any help appreciated.
Regards,
Jeff
I am playing around the with great Interface plugins, the
http://interface.eyecon.ro/demos/fisheye.html in particular and was
wondering if anyone had played around with the code to allow for
different sized images to be used, rather than a single size? Any
math wiz that could point me in the righ
Benjamin,
That's just a blog - if there is a specific page on there about the
selectors, please do send along a link.
Thanks.
On 7/2/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote:
Howie,
Check out learningjquery.com
On 7/2/07, Howard Jones <[EMAIL PROTECTED]> wrote:
>
>
> Naturally, the d
You can use the google cache
http://72.14.205.104/search?q=cache:yFpDK0JxvV4J:docs.jquery.com/DOM/Traversing/Selectors+jquery+selectors&hl=en&ct=clnk&cd=2&gl=us&client=firefox-a
Jeff
On 7/2/07, Howard Jones <[EMAIL PROTECTED]> wrote:
Naturally, the day I pick to si
bump
On May 17, 4:20 pm, Jeff <[EMAIL PROTECTED]> wrote:
> That works great, but how do I get it to ignore clicks to the div
> itself? Thanks
>
> On May 15, 9:43 pm, RobG <[EMAIL PROTECTED]> wrote:
>
> > On May 16, 1:36 am, Jeff <[EMAIL PROTECTED]>
That works great, but how do I get it to ignore clicks to the div
itself? Thanks
On May 15, 9:43 pm, RobG <[EMAIL PROTECTED]> wrote:
> On May 16, 1:36 am, Jeff <[EMAIL PROTECTED]> wrote:
>
> > I am trying to add some functionality to my page where a user clicks
> >
I am trying to add some functionality to my page where a user clicks
on a link which makes a menu layer visible. That part I've been able
to do. Now, I would like that DIV to disappear when the user clicks
anwhere else on that page, on other words, making the menu disappear
when it loses focus.
basically it's saying to show it if it's hidden, or hide it if it's
visible. see more info here:
http://www.jquery.com/Selectors#Custom_Selectors_2
On 5/10/07, c19h28o2 <[EMAIL PROTECTED]> wrote:
>
>
> Thanks,
>
> can you please explain the why the p.firstparagragh has :hidden beside
> it? it d
untested, but something like this?
$('#btnEnviar').before('').remove();
Jeff
On 5/10/07, Harlley Roberto <[EMAIL PROTECTED]> wrote:
Hi,
I need to do this:
$("#btnEnviar").attr("type", "button");
But accordind to my googled, I t
?
In other words if I wanted to check the value of the first option in
oSelect and if it is blank (""), then remove it?
Is there a way to check to see if an option value is contained within
the select without looping (does jQuery have native functionality to
do this)?
Jeff
out how to make
that call, but couldn't get my head wrapped around the syntax.
I whacked a whole bunch of lines of code from the very first go
'round, I can tell you that.
Geez, somebody ever sees this, they might actually mistake me for
somebody who knows what they are doing ;)
Thanks again.
Jeff
in one command:
>
> var oRemoved = $("#mySelect option:selected").remove();
>
I have learned a lot. Thanks again.
Jeff
below, which of course does not
work. So how do I reference the counter in the loop in line 2?
for (i = $("#mySelect")[0].length - 1; i>=0; i--) {
if ($("#mySelect option:selected")[i]) {
$("#mySelect").removeOption(i);
}
}
As always, thanks much.
Jeff
Worked, thanks Dennis.
On May 7, 11:15 am, spinnach <[EMAIL PROTECTED]> wrote:
> try $("#mySelect")[0].length ...
>
I can't do
this?). Why aren't these equivalent?
var num = document.getElementById('mySelect').length // returns 5
var num = $("#mySelect").length // returns 1; doesn't change so I know
this isn't correct.
TIA,
Jeff
you are the man!
On May 3, 3:25 pm, "Jonathan Sharp" <[EMAIL PROTECTED]> wrote:
> Hi Jeff,
>
> You just need to use a closure. Outside your ajax call do $t = $(this); and
> then you can reference $t inside of your anonymous function. See below...
>
> Cheers,
&g
I should add that calling the row by name is not an option as the rows
do not have unique ids
On May 3, 2:50 pm, Jeff <[EMAIL PROTECTED]> wrote:
> I have run into a problem. I am attachking a click() event to every
> row of an inventory table. When the user clicks on the row,
I have run into a problem. I am attachking a click() event to every
row of an inventory table. When the user clicks on the row, it
fetches detailed information from the server and creates a new row
below the clicked row. Below is the code
$(document).ready(function() {
$("table > tbody
That was it! It looks so simple. Thanks, Jörn.
I just received John Resig's Pro JS Techniques book, and plan on going
over this oop style js stuff and studying your examples, now that the
heat will be off.
Many thanks again.
On May 3, 12:24 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wr
ze if I am
asking basic questions that are obvious to everyone else.
I have all this working using Dan Switzer's implementation and a combo
of procedural js and jquery syntax, but i am trying to get it work
here to, using all jquery stuff, so that we are onboard when this
plugin becomes the pri
Nevermind, figured it out, thanks.
On May 2, 10:33 am, Jeff Fleitz <[EMAIL PROTECTED]> wrote:
> > Try $("#suggest2+pk").val( data[1] ) or $(this).next().val( data[i] );
> > And first check if the "#suggest2+pk" selector really selects your
> > hidde
s).next().val(data[0]) directly and still
get the [object Object] reference.
Jeff
Hey Dan,
I am playing around with your suggestions below on how to implement
multiple autocomplete calls on one form using your implementation. I
have added the second argument (input) in the callback as you
suggested, but am stumped about where in the code to pass the input
reference from? I hav
Does that make sense?
Jeff
> Thats a bit trickier. As you noticed, the event is called for each
> selected value. The second autocomplete in the demo appends the
> associated values to a different input one by one. In case the plugin
> handles that directly, how should it work like?
>