document.write() means writes to the root of the DOM, aka. the
`document'. it is a JavaScript built in Object.
http://www.comptechdoc.org/independent/web/cgi/javamanual/javadocument.html
On Apr 22, 1:08 pm, kiusau wrote:
> QUESTION: Is it possible to use the for-in statement to list all of
> th
I have my form in table, with "error.appendTo( element.parent
("td").next("td") );"
In the td where the errormessages is append I would like to write rule
description for each field when the page is loaded and the user hasn't
start typing in the field should this message be shown, for example:
Fu
.html() overwrites the innerhtml for that element. Try .append().
On Apr 21, 10:08 pm, kiusau wrote:
> QUESTION: Is it possible to use the for-in statement to list all of
> the key:value pairs of an object in a tag?
>
> BACKGROUND: The following code (see SOURCE CODE below) writes only
> the
Sorry for the delay in getting back to you guys. My email was down all
day yesterday. Anyway, this should do it now
http://github.com/kswedberg/jquery-cluetip/tree/master
you should be able to do
$('foo').cluetip({
ajaxSettings: {
beforeSend: function(xhr) {
// whatever
},
QUESTION: Is it possible to use the for-in statement to list all of
the key:value pairs of an object in a tag?
BACKGROUND: The following code (see SOURCE CODE below) writes only
the sentence: "Flower name and color: daffodil:yellow." The
key:value pairs rose:red and tulip:pink appear to be
Your iframe has no src attribute (so there's no document there).
On Apr 21, 1:32 pm, stony_dreams wrote:
> I see the same problem. If i read the exception that gets thrown, its
> simply: "Error". Nothing informative.
>
> I just create an iframe dynamically and have an image tag as its child
> no
Hello,
I am currently working on a very form heavy site. I am trying to
validate a form that has been generated from an Ajax call. I am using
the Live function for many things on the site but can't seem to get
the form validation to bind, I also tried lazy loading the script but
that didn't seem
Hi -
I've got a little jquery bit to add some behavior to linked mp3s.
You see this here: http://www.reebee.net/bands/blue-suede-boppers/
Basically, jquery adds a speak icon and a player when the link is
clicked, and the link title flies off and fades to the right:
[code] jQuery('a[href$=mp3]:
so I got coda-slider and tweaked it to look a bit different, but the
problem is that it will not slide :( can anyone please help me?
Here is the example what I am talking about:
[URL="http://www.naspos.com/zindex/index.html"]http://www.naspos.com/
zindex/index.html[/URL]
This is, indeed, very good news.
I was afraid that I might be wasting a lot of time learning jQuery, or
had wasted a lot of time building my Dreamweaver template.
My fear was for nought. Also, I have learned that not many jQuery
users use or are very interested in Dreamweaver. So, I am pretty
l
so I got coda-slider and tweaked it to look a bit different, but the
problem is that it will not slide :( can anyone please help me?
When I added the SuperFish Module to my site
"www.beixm.wizeguygaming.com" it seems to work 'OK' but does not
expand for sub-menu's...why?
try
On Apr 21, 10:27 am, Tom Worster wrote:
> On 4/20/09 10:35 PM, "James" wrote:
>
> > Try:
>
> > $("#isearch").autocomplete("search_result.php", {
> > extraParams:{isearch:$("#isearch").val()},
> > width:542,
> > multiple: true,
> > matchContains:true,
> > cacheLength
Hello,
I am currently working on a very form heavy site. I am trying to
validate a form that has been generated from an Ajax call. I am using
the Live function for many things on the site but can't seem to get
the form validation to bind, I also tried lazy loading the script but
that didn't seem
I see the same problem. If i read the exception that gets thrown, its
simply: "Error". Nothing informative.
I just create an iframe dynamically and have an image tag as its child
node in case iframes are blocked on the browser, but it wont let me
append.
Any ideas?
On Mar 12, 12:57 pm, Blaine
It was just a crazy setting in firebug (enable console). Otherwise, it
doesn't show the output results
On Apr 22, 1:01 pm, Andy789 wrote:
> Hi All,
>
> I am stacked with a simple code (it works perfectly on my other site,
> but I cannot find what could be wrong here):
>
> 1) I pass vars to file
On Apr 21, 2009, at 5:13 PM, Matt Kruse wrote:
On Apr 21, 4:09 pm, Karl Swedberg wrote:
Here you go:
http://plugins.jquery.com/latest_releases/feed
Cool, is this new, or did I just not find it when I looked?
I'd like to see more items in the feed, too. So it would hopefully
reach back 3-5
many thanks guys.
i've learnt a lot from your replies and found uses for the scripts
well beyond my initial query.
Hi All,
I am stacked with a simple code (it works perfectly on my other site,
but I cannot find what could be wrong here):
1) I pass vars to file test.php via
$.post("test.php", {state: state, city: city, attorney:
isAttorney, paral: isParal, detect: isDetect, same_state: isState},
f
This thread helped me solve the problem, in particular Mike Alsups
awesome comment on adding new properties to the .ajax() method. Very
nice Mike!
http://groups.google.com/group/jquery-en/browse_thread/thread/f6b723f6119f1ada/9ceea36b6e0f0e06?hl=en&lnk=gst&q=multiple+ajax+calls#9ceea36b6e0f0e06
I tried that without the if (see code above) and the error isn't
thrown.
I also used a Jquery JSONP library, and there the error is thrown
(immediately) when the user is offline.
I'm trying to get that same behavior. Adding my own timeout has as
disadvantage that I'd have to wait for that, while t
I uploaded a delegation plugin I wrote a while back, before .live().
You can pass different selectors:functions to it, so it would work in
your case of having a different function for link. Check it out here,
it might be useful:
http://plugins.jquery.com/project/simpledelegate
On Apr 21, 3:25
Correction. wrong style sheet. It DOES work!
I will go to bed a happy man!!! Who said talking to yourself didn't
help. Haha.
L
On Apr 21, 11:06 pm, ldexterldesign wrote:
> Hey guys, no point going into detail yet, but both pieces of code work
> independently here, it's just when they're put to
Just randomly found the most apt bit of information in the
documentation for the jQuery UI tabs:
"Why does...
[edit]
...my slider, Google Map, sIFR etc. not work when placed in a hidden
(inactive) tab?
Any component that requires some dimensional computation for its
initialization won't work in
That's a great idea, however this is just a snipplet of what I'm
actually doing to outline the issue. In the real application each
click function does something custom.
On Apr 21, 2:58 pm, mkmanning wrote:
> Ah, I see; I thought you meant the click on radios. Why not just use
> simple event dele
Great, thanks, and ditto what Matt asked about more item in the feed.
Thanks!
- Jack
Matt Kruse wrote:
On Apr 21, 4:09 pm, Karl Swedberg wrote:
Here you go:
http://plugins.jquery.com/latest_releases/feed
Cool, is this new, or did I just not find it when I looked?
I'd like to see m
Hi mate,
Install Firebug (http://is.gd/39t) It will help you a lot in locating
the CSS associated with your problem.
L
On Apr 21, 10:57 pm, "abhishekgal...@gmail.com"
wrote:
> Can anyone please tell me ,how do we achieve that the selected
> accordion header should have different background co
Hey guys, no point going into detail yet, but both pieces of code work
independently here, it's just when they're put together it messes
things up. I assume it's an instantiation issue.
Would anyone care to help me experiment? The two function are below:
$(
Can anyone please tell me ,how do we achieve that the selected
accordion header should have different background color and other
headers which are not selected should have different background
color.
I am naive with Jquery , jquery generates some kind of CSS
associated ..how do we overide tha
Ricardo,
I realize that support() is meant for feature detection, but IE in AOL
and regular IE don't behave the same. Specifically, when it comes to
focus() and blur(). Further, some flavors of AOL use Mozilla. So I was
hoping there was an event or event(s) that were peculiar to AOL,
without havi
Okay, to answer my own question I have successful reset the form and
cleared the Validation plugin error messages by:
assume the following pseudo code:
var frmAsset = $('#formAsset').validate({
rules: {
shortDesc: {
required: true,
Thanks Jordon!
I love how easy jQuery makes things!!!
Hehe, I appreciate the code example, that should get me headed in the
right direction. :)
Have a great day,
Cheers,
m
On Apr 21, 4:09 pm, Karl Swedberg wrote:
> Here you go:
> http://plugins.jquery.com/latest_releases/feed
Cool, is this new, or did I just not find it when I looked?
I'd like to see more items in the feed, too. So it would hopefully
reach back 3-5 days at least.
Matt Kruse
On Apr 21, 2009, at 4:44 PM, Matt Kruse wrote:
On Apr 21, 2:30 pm, Jack Killpatrick wrote:
Anyone know if there's an rss feed for new/changed plugins from
plugins.jquery.com? I poked around a bit, but couldn't find one.
I was just looking to do the same thing yesterday, for a jQuery gadget
This is good to here.
I just implemented tablesort, at which there will be up to 1000 rows.
Glad to know that 400 sorts very quickly.
On Apr 9, 5:19 pm, csi95 wrote:
> Okay, my bad here.
>
> Thanks to the one-on-one help of one of the great members here, I was able
> to find the problem.
>
> It
Ah, I see; I thought you meant the click on radios. Why not just use
simple event delegation? Put this in your domready function:
$('#list').click(function(e){
console.log( $(e.target).text() );
});
On Apr 21, 10:36 am, Blaine wrote:
> I did look at the 'livequery', however it still did not
You should add in some checks, but this is how you would check for a hash.
if(window.location.hash) {
section=window.location.hash;
$(section).toggle();
}
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Micky Hulse
Sent
Thanks Adras, however, if you don't specifiy "testHTML" as an argument
to $() then JQuery will function against the DOM instead of the
content of a variable. The way your doing things looks like your
trying to inject the contents of "testGetHTML" into the ".targetMe"
element. Unless I'm mistaken
Hi,
First, my code:
...
if ($alt_nav_ul.length > 0) {
$alt_nav_ul.append('Portfolio');
$('a.folioLink').click(function() {
this.blur();
$folio = $('#folio').toggle();
return false;
});
} // $alt_nav_ul
...
==
On Apr 21, 2:30 pm, Jack Killpatrick wrote:
> Anyone know if there's an rss feed for new/changed plugins from
> plugins.jquery.com? I poked around a bit, but couldn't find one.
I was just looking to do the same thing yesterday, for a jQuery gadget
I'm creating.
I resorted to scraping this: http:
Try:
$(".targetMe", $(testHTML)).html();
or:
$(testHTML).find('.targetMe').html();
You might get into trouble with that and the html and body tags, not
sure. In that case you had to create your own document fragment...
--Klaus
On 21 Apr., 03:28, default_user wrote:
> I'm trying to get jqu
I took your advice and installed serialScroll. it's not live as of
this moment (hopefully today though!), but I can tell I will like it
better. And in the process of updating my page, I think I stumbled
upon the answer to my problem...
My page has 2 continue buttons (actually more than that), one
You forgot this one ;)
http://plugins.jquery.com/project/parseQuery
(449 bytes, handles multiple name-value pairs with the same name)
On Apr 21, 10:55 am, Ricardo wrote:
> Simplest way is to use a regular expression:
>
> var location = /[?&]location=(\w+)&?/.exec( location.search );
>
> there
Anyone know if there's an rss feed for new/changed plugins from
plugins.jquery.com? I poked around a bit, but couldn't find one.
Thx,
Jack
I use jQuery slider ui, and I want to customize the scroll bar
http://penta.twnoc.com/product_detail.php?type=1&sub=1
almost done, but only one thing, when you scroll handle box to right,
the box will over the scroll bar, and I don't know how to fix it.
The hoverIntent plugin was meant just for this purpose. There's an initial
delay (unavoidable) but if the user's mouse slows down significantly the
hover event will fire... if their mouse continues moving the hover event is
again delayed (and rechecked). It was originally conceived for when you hav
Sorry I don't have a copy of IE7 to test with right now, but what
happens if you change 'change' to 'focus' or 'click' or some other
event? Does it fire the onInputChange function as expected?
On Apr 20, 6:07 pm, Joshua Partogi wrote:
> Thanks James!
>
> I still wonder why it doesn't work on IE7
Oops, you're right about that! I wasn't paying attention to that
detail. I mainly wanted to indicate that you can place additional data
in the extraParams parameter rather than extend it in the url. :)
On Apr 21, 5:27 am, Tom Worster wrote:
> On 4/20/09 10:35 PM, "James" wrote:
>
> > Try:
>
> >
kiusau wrote:
> Can jQuery be used to manipulate uneditable document objects in an
> HTML/XHTML document produced from a Dreamweaver template? If so, is
> there a special script required to unlock them?
>
> Similarly can jQuery be used to manipulate editable objects? If so,
> are special script
hey now! I answered my own questions this time. I turned on Script
Debugging in Internet Explorer 7, and discovered there were a couple
of minor syntax problems in my javascript. Namely, I was passing a
couple of options to the primary function call, but there was a
trailing comma that needed to b
Simplest way is to use a regular expression:
var location = /[?&]location=(\w+)&?/.exec( location.search );
there are also plugins to deal with the query string (a bit
overcomplicated but can be useful):
http://plugins.jquery.com/project/query-object
http://plugins.jquery.com/node/6222
cheers,
jQuery support is meant for feature detection, not browser sniffing.
If you need to weed out AOL, try
var isAOL = navigator.userAgent.toLowerCase().indexOf('aol') > -1
But latest verisons of the AOL browser are all based on Internet
Explorer, so rendering and everything is the same, you shouldn'
I did look at the 'livequery', however it still did not seem to solve
my issue.
As for the above code working, you must do the following steps to see
my issue.
1) Load the Page
2) Click on one of the options.
3) A alert appears.
4) Click on the Radio Button 'Sort Desc'
5) Item are re-sorted
6)
binding the events with live() worked, I am all good.
Thanks goes to me for answering this I guess. ;-)
>From a user-interaction standpoint, you might want to rethink the
amount of time you delay. Obviously I don't know your specific
situation, so maybe there's a very strong indicator to the user to
wait for the effect. If there isn't, just beware that while you know
what's supposed to happen when y
thanks, everything is fine within safari, opera and internet explorer.
within firefox, the container's background color is not changing yet.
as background color firefox (osx) chooses preconfigured systemcolor,
not the one specified in the option-fields style-sheet.
bug in firefox?!
On 21 Apr., 04
Okay, I have figured out the problem is due to the new elements not
being bound. I am going to try the various methods for correcting
this, starting with the live() event.
Your example code works fine for me. Your event is hard-coded (not the
best approach btw), and you're not overwriting the inputs (so you
wouldn't need .live() or the livequery plugin. Can you be more
specific about what you see happening?
On Apr 21, 7:21 am, Blaine wrote:
> Hi,
>
> I'm currently
Take a look at the 'plugins' and search for 'navigation drop down' I
think you will find something there that you can uses.
On Apr 21, 8:51 am, PF wrote:
> Hi everyone:
>
> I am wondering if there is some way to create drop down navigation
> bars using jQuery. For example, if the user rolls ove
If you put a : in a jQuery selector, jQuery thinks you are going to be
declaring a filter.
btw
[nodeName=] may not owrk in ie6. Might want to verify.
Anyone from jQuery knows if any work is being done to fix xml namespaces?
cheers
Michael Lawson
Content Tools Developer, Global Solutions, ibm
Thanks that worked -- but why does $item.find("media:thumbnail") not
work? I can get the other items with, for example, $item.find
("description"). I guess it is the ':' that makes the difference but
why?
Thanks again.
On Apr 20, 1:42 pm, Michael Lawson wrote:
> try this
>
> $("[nodeName=media:
If you mean the jQuery UI Accordion, see
http://jqueryui.com/docs/accordion/#theming
- Richard
On Tue, Apr 21, 2009 at 9:19 AM, abhishekgal...@gmail.com <
abhishekgal...@gmail.com> wrote:
>
> Can anyone please tell me ,how do we change the css stylesheet of
> selected accordion header.
>
> I wa
Not exactly, but you led me down the right path to the answer. I think
I can figure it out from here.
If I do find a solution then I will post it. I saw someone else asked
a simular question a couple months back without any replies so I am
glad that someone replied with something I could work off
Did you look at the 'livequery' plugin?
On Apr 21, 8:21 am, Blaine wrote:
> Hi,
>
> I'm currently building a list when the document is ready, then
> performing a sort on the list if the user clicks "sort Asc" or "sort
> Desc". However, when the list is sorted and redisplayed, I lose the
> origin
On 4/20/09 10:35 PM, "James" wrote:
> Try:
>
> $("#isearch").autocomplete("search_result.php", {
> extraParams:{isearch:$("#isearch").val()},
> width:542,
> multiple: true,
> matchContains:true,
> cacheLength:0,
> minChars:1,
> delay:0
> });
i'm not sure tha
Yo,
I solved it using .attr (http://is.gd/tG1X) I should have
remembered .attr to be fair.
This script takes some images from a folder and displays them on a
page (as greyscale), with rollover replacement images from another
folder (full colour versions).:
';
for
On 4/20/09 10:32 PM, "Pitt Phunsanit" wrote:
> i found some blobem from autocomplete plugin
> valible isearch don't send to php script
the value of the field is sent in the "q" parameter. write your php script
to use $_GET['q'] instead of $_GET['isearch'].
>
> $("#isearch").autocomplete("sea
Hi everyone:
I am wondering if there is some way to create drop down navigation
bars using jQuery. For example, if the user rolls over a choice, the
sub-choices pop up and when the mouse leaves the target area it will
simply disappear. I was thinking that some animation would be nice,
but it is
The validation plugin is great and I'm using it very successful with
my ASP.net web services for AJAX data entry and validation. What I
would like to do is use the JavaScript form reset method AND somehow
reset the validator's error messages from the prior validate()
invocation but I do not want t
I don't have an answer, but I posted a very similar question a few
minutes ago on this. So I am hopeful it's something basic that we both
are missing.
Hi Rob, thanks for the advice. I'll try it out and let you guys know
how well I did.
Thanks Josh, I'll check it out.
On Apr 20, 10:04 pm, RobG wrote:
> On Apr 21, 8:33 am, geocalleo wrote:
>
> > Hi all, I was wondering if there is a way in jQuery for me to disable
> > a hover event for a few s
Hello all :)
I run JSMag, the magazine for JavaScript developers, over at http://jsmag.com.
We publish a monthly PDF magazine bringing useful JavaScript content
to readers each month. Our third issue is coming up next week in May.
While we're not exclusively focused on jQuery, we are certainly
hello,
I want to use this menu but i have so many main items that there are 2
rows.
The first row is always on top.
How can i get the second level menu to be on top of the fisrt item
menu-item1 menu-item2 menu-item3 menu-item4 menu-item5
menu-item6 menu-item7 menu-item8 menu-item9
Hi,
I'm currently building a list when the document is ready, then
performing a sort on the list if the user clicks "sort Asc" or "sort
Desc". However, when the list is sorted and redisplayed, I lose the
original "click" event.
How can I keep this event after sort?
Below is example code:
Unt
Hey guys,
I have a image rollover I need to do through JS (I don't think it's
going to be possible through straight forward CSS. The practicality is
I'll have to put an extra class on all the images to make them
reference'able)
I have this:
$(document).ready(function() {
$("#accreditors a").
BTW, don't mind the double pound signs, those get escaped by
Coldfusion when the page is loaded.
Here is my situation. I have a DIV that contains some head and ordered
list tags in it. Upon initial load, I hide the contents of the lists
with slideUp() and use slideToggle(), and clicking on one of the links
in the lists populates the fields in a form.
This all works fine, until the form is su
Is anyone aware of an event that can be used to flesh out AOL via
jQuery support()?
A little more code or example would be helpful but...
whats keeping you from using the css() function?
cheers
Michael Lawson
Content Tools Developer, Global Solutions, ibm.com
Phone: 1-828-355-5544
E-mail: mjlaw...@us.ibm.com
'Examine my teachings critically, as a gold assayer would test gold
Can anyone please tell me ,how do we change the css stylesheet of
selected accordion header.
I want that the selected accordion should have different background
color and other which are not selected should have different
background color.
I succeeded by using namespaced events and removing them all one by
one using the top selector:
$("#demo1 li a").live("click.foobar",function() { ... anonymous
function ... });
$("#demo2 li a").live("click.foobar",function() { ... same anonymous
function ...});
$("#demo2").die("click.foobar");
Perfect - thanks.
Roddie
On 20/4/09 21:32, "mkmanning" wrote:
>
> Check out .live() in the docs http://docs.jquery.com/Events/live#typefn
>
> On Apr 20, 7:55 am, Roddie wrote:
>> On a form, I have an "Insert new field below here" link. Clicking it
>> inserts a new field, and also inserts an
Brandon Aaron covered this issue on Learning jQuery a few months back:
http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup
HTH,
SEAN O
http://www.sean-o.com
AppleTurnover wrote:
>
>
> I've got a jquery function set up where it simply opens up a minicart
> div wh
2009/4/21 default_user :
>
> I'm trying to get jquery to parse some text in a variable as HTML, has
> anyone tried this before and got it to work? Can this even be done,
> or do I have to parse as text?
>
>
>
> testHTML = "TESTING li>";
>
> testGetHTML = $(".targetMe", testHTML).html();
>
> aler
Hi,
Problem that i'm facing is that i'm load external ASPX pages in AJAX
tabs..its working great in FF3.0,Safari,Chorme & IE8 but it gives
"Object doesn't support this property or method" error when ever a new
page is about to load in tab & it also doesn't load...
Please Fix this bug or tell me t
I'm trying to load some javascript files via ajax, and for the life of
me, I can't get it to catch 404 errors. I've tried searching, but
everything I've found says that I should check the status on the
request object to catch it but it's not even getting that far.
I've tried:
$.ajax({
url: "h
I've got a jquery function set up where it simply opens up a minicart
div when the cursor is placed over the shopping cart icon. My problem
is when the cursor is placed on the icon and removed very quickly more
than once, and before the animation is complete, the animation gets
queued infinitely.
I'm trying to get jquery to parse some text in a variable as HTML, has
anyone tried this before and got it to work? Can this even be done,
or do I have to parse as text?
testHTML = "TESTING";
testGetHTML = $(".targetMe", testHTML).html();
alert( testGetHTML );
Why not base your use/non-use of a plugin based on features and
application for your usage?
I don't see any plugins out there stamped "jQuery Official Plugin"...
need something done, there's probably 20+ different plugins out there
that will do it
As for TableSorter... i use it pretty exten
I was searching for a table sorter plugin and I found this one
http://tablesorter.com/docs/
Is the official plugin for this purpose or there is something else.
Kind regards
Massimo
anyone ?
is it possible to initialize a function and then trigger via parameter.
cheers
On Sun, Apr 19, 2009 at 12:13 PM, Christopher wrote:
> hey there,
>
> i want to make keyimage-slideshow for a website with a header navigation.
> everytime you *hover a menu item*, a *slideshow of images* re
Very nice, Jeffrey!
Thanks for sharing!
Rick
2009/4/21 Jeffrey
>
> I just put a live demo on
> http://www.darkthread.net/miniajaxlab/slidefieldset/sample.htm.
>
> On 4月21日, 上午9時07分, Rick Faircloth wrote:
> > Got a demo, Jeffrey?
> >
> > On Mon, Apr 20, 2009 at 8:20 PM, Jeffrey wrote:
> >
> >
92 matches
Mail list logo