This may have been answered somewhere, but alas, I cannot find it.
I would like to use a regular expression to filter through certain dom
elements, but Im not sure if jQuery takes regex.
Also, it might be possible with attribute selectors, but Im not sure how.
I want to grab all divs with an ID
Mike Alsup schrieb:
1. the script duplicates the formsheet of Eintragen when you open and
close it again and again..
Olaf,
It looks like you're returning the entire HTML document in both the
IFrame and the return from the form submit? For the form submit
(save.php) try returning only
Hello all, this is my first posting, although I've been watching you for some
time :)
I'm trying to develope a small piece for dynamic loading in jquery, wich
loads the .js and .css source files on the fly without any special markup in
the html page. Probably you've seen this before
I've seen some sites (not sure if they're jQuery powered or not) that have a
page scroll triggered where the window auto-scrolls down to a certain point
on the page. Sort of link using an anchor link, but you can actually see the
page moving.
I'm wanting to do that as part of a form I'm working
I'm going to be submitting a form via AJAX and I'd like to be able to clear
all of the fields afterwards. I could obviously do it by referencing each
field manually, but I'm wondering if it's possible to do something like
this:
$('#myForm').clearFields();
or something to that effect. I just want
Andy Matthews schreef:
I've seen some sites (not sure if they're jQuery powered or not) that have a
page scroll triggered where the window auto-scrolls down to a certain point
on the page. Sort of link using an anchor link, but you can actually see the
page moving.
it's a part of the
Does this work (presuming the form has an id of myForm)?
$('#myForm')[0].reset();
Andy Matthews wrote:
I'm going to be submitting a form via AJAX and I'd like to be able to clear
all of the fields afterwards. I could obviously do it by referencing each
field manually, but I'm wondering if
from what i know, the closest is using the 'each' method.. like:
$(form)
.children()
.each(function() {
$(this).val();
});
or something close to that. hope that helps
[g]
On 12/28/06, Andy Matthews [EMAIL PROTECTED] wrote:
I'm going to be submitting a form via AJAX and I'd like to be
I just want to reset all fields to their original values.
Does the standard form.reset method do what you want?
$('#myForm')[0].reset();
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Excellent! Thank you David!
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of David
Haven't tried it. I didn't know it was there. Thanks guys!
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
For example, in $(document).ready( ...
jQuery.require('jquery.accordion');
$('#myaccordion').Accordion();
jq.getScript(src);
// here it should wait, but how?
That won't wait, obviously, because it's an async call. You either
need to use synchrnous ajax (like dojo) or
Hi,
I'm working on the plugin for jquery :
http://olbertz.de/jquery/googlemap.html
it's really great with firefox.. but it doesn't work in IE...
I've made some tests and it seems that the problem comes from this
foreach :
locations.forEach(function(element, index, array) {
var
Okay...
I've downloaded the ifxscroll.js file and I've set it up after the call to
jQuery.js in my code. I've got this line:
$('#ST').ScrollTo(800);
And it's giving me this error:
jQuery.iUtil is null or not an object.
I'm not using Prototype so I haven't reassigned the $ call. Any ideas
Andy Matthews schreef:
Okay...
I've downloaded the ifxscroll.js file and I've set it up after the call to
jQuery.js in my code. I've got this line:
$('#ST').ScrollTo(800);
And it's giving me this error:
jQuery.iUtil is null or not an object.
iutil is a different js file. most of the
Ah...so I need to have that one in addition to the scroll plugin?
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: [EMAIL PROTECTED]
Hmmm...
I'm no longer getting an error, but it still doesn't appear to be working.
I copied all of the files from the demo of the scroll plugin and placed them
in my code, in the same order.
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink,
I feel that it's easier to simply return the HTML string for the element
that will get appended. Your example seems to return JSON (a javascript
object right?). What are your thoughts on that?
It all depends on what you need to do with the returned data. If HTML
makes things easier for you
Karl...
When I try to use the interactive builder, I select the FX - Scroll plugin,
click the save your selection link, then save the file. But when I open
it, the file is blank except for the information at the top.
!//--
andy matthews
web developer
certified advanced
Ah...I see...
That makes perfect sense.
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf
vince schreef:
locations.forEach seems to cause problems with IE...
Is there a workaround ?
thanks in advance
maybe this can help
http://www.ejball.com/EdAtWork/CommentView,guid,c2d0f53f-afc7-4831-b60e-f4354ae3f7fa.aspx
mozilla is a few versions of javascript ahead of IE, it works in
But if you only need to include/require other JS files once at the beginning
and not in the callback functions for inclusions, then you should be able to
use my method.
That's the case, the callback should be enough for me. I'll try this and keep
you informed.
Many thanks
Jip
thanks for the link ...
But i wonder how i can rewrite the code with this ForEach function.. it's
not the same syntax ? sorry but i'm not very good with javascript.
here is the code :
locations.forEach(function(element, index, array) {
var marker = new GMarker(new
Hi,
I'm trying to develope a small piece for dynamic loading in jquery, wich
loads the .js and .css source files on the fly without any special markup
in the html page.
For .js files you can use jspax (www.jspax.org). I use it to load jQuery and
plugins on demand (actually I made it for that
I thought this would be fairly straightforward but it appears to be causing
me some distress. I need to get the value of an FCKEditor field for
transmission using AJAX. However, when I reference the fields ID and call
the val() method, I get a blank result when there is definitely content in
it.
vince schreef:
thanks for the link ...
But i wonder how i can rewrite the code with this ForEach function.. it's
not the same syntax ? sorry but i'm not very good with javascript.
here is the code :
link = ' # '+element.name+' br /';
$('p#location_list').append(link);
Thanks very much, it works.. !!
--
View this message in context:
http://www.nabble.com/googlemaps-plugin-with-IE---tf2890722.html#a8076808
Sent from the JQuery mailing list archive at Nabble.com.
___
jQuery mailing list
discuss@jquery.com
You're right. Sorry about that, Andy.
Tried to attach a tested copy of scrollto.js, but the mailserver
rejected it. So, you can find it here now:
http://www.karlswedberg.com/scripts/scrollto.js
Hope that helps.
--Karl
_
Karl Swedberg
www.englishrules.com
Thanks a lot. You code fixed it in IE but broke firefox, but it using your
code I made it so that I could determine if the php script generating the
code should add script tags on it when it does its request and had it do a
.load function instead.
script language=JavaScript
It should, but it isn't.
malsup wrote:
Internet Explorer wont execute dynamic code in that manner.
Sure it will, with the help of jQuery. $().load has logic to find and
eval script in the returned text.
___
jQuery mailing list
If you're just trying to load a stylesheet dynamically, all you need to do
is this:
function addSheet( url, doc ) {
doc = doc || document;
var link = doc.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = url;
Hi Everyone,
Here's what I'd like to able to do (simplified), although I can't seem
to figure out how to do it.
If the link in matchThis has the same href as the link in
navigation, how can I select the link with the matching href in
navigation?
for the code:
div id=navigation
a
Thank you Karl...is this the only thing I need to include (other than
jQuery)?
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: [EMAIL
Hi Chaim,
Chaim schrieb:
If the link in matchThis has the same href as the link in
navigation, how can I select the link with the matching href in
navigation?
for the code:
div id=navigation
a href=about.htmlI want this link, because the href matches/a
a href=bla.htmlI don't want this
Try $(#navigation [EMAIL PROTECTED] + $(#matchThis).attr(href) + ])
On 12/28/06, Chaim [EMAIL PROTECTED] wrote:
Hi Everyone,
Here's what I'd like to able to do (simplified), although I can't seem
to figure out how to do it.
If the link in matchThis has the same href as the link in
navigation,
$(form :input:not([EMAIL PROTECTED]):not(button)).val()
I personally prefer reset() because there's rarely a case where you're
setting default values that you don't intend to be the default value ;)
-- Yehuda
On 12/28/06, Mike Alsup [EMAIL PROTECTED] wrote:
That could also be written as:
Don't think this came through the first time
--
I thought this would be fairly straightforward but it appears to be causing
me some distress. I need to get the value of an FCKEditor field for
transmission using AJAX. However, when I reference the fields ID and call
the val() method, I
I personally prefer reset() because there's rarely a case where you're
setting default values that you don't intend to be the default value ;)
I definitely agree with that.
$(form :input:not([EMAIL PROTECTED]):not(button)).val()
But not that! That will ignore type=text inputs.
I'm going to
$(form :input:not([EMAIL PROTECTED]):not(button)).val()
That will clobber the values on radio buttons and checkboxes. Here's another
vote for form.reset().
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
From: Michael Geary
If you're just trying to load a stylesheet dynamically, all
you need to do is this...
Just to be clear, I wasn't disparaging jsPax!
It just depends on whether you need a full-featured package system or a
simple loading function.
-Mike
The problem for me (in this case) is that the few fields that need to be
transmitted via AJAX (and then reset) are part of a larger form that I do
NOT want to get reset.
I might just have to do each field manually.
!//--
andy matthews
web developer
certified advanced
There was some discussion a month or two ago about splitter widgets. Did
anyone build one?
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
You could try putting a form within a form. I'm not sure how valid it is,
but it definitely solves certain problems.
-- Yehuda
On 12/28/06, Andy Matthews [EMAIL PROTECTED] wrote:
The problem for me (in this case) is that the few fields that need to be
transmitted via AJAX (and then reset)
This is for a CMS so I'm not really that concerned with it validating (as
long as it works).
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
This is for a CMS so I'm not really that concerned with it validating (as
long as it works).
Nested forms are not valid markup. I think it makes more sense to
handle these special fields manually. Do they simply need to be
cleared? If so, you'll be able to use the new clearForm method of the
yep. include it after the jquery.js and it should do the trick. It's
the only thing I needed (on a different site).
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Dec 28, 2006, at 12:11 PM, Andy Matthews wrote:
Thank you Karl...is this the only thing
http://jquery.com/blog/2006/12/27/the-path-to-11/ is the best thing I could
find. There's also http://jquery.com/dev/upcoming/
On 12/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi everyone,
With Yehuda mentioning the changes to Visual jQuery and the 1.1 release, I
wondered if there was
Hi everyone,
With Yehuda mentioning the changes to Visual jQuery and the 1.1 release, I
wondered if there was a documented roadmap anywhere for future releases?
Gerry___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Roads? Where we're going... we don't need roads!
Sorry, I couldn't resist! :oP
Cheers,
Chris
[EMAIL PROTECTED] wrote:
Hi everyone,
With Yehuda mentioning the changes to Visual jQuery and the 1.1
release, I wondered if there was a documented roadmap anywhere for
future releases?
Gerry
On 12/27/06, moe [EMAIL PROTECTED] wrote:
yep, it's for use with multiple elements,
so that global attr()-stuff doesn't cut it.
but fear not, Choan's helper function did it for me:
$(this)[0].ontimer = setTimeoutH( function( mysrc, body, x, y ) { on(
mysrc, body, x, y ) },
I think you can
Jeez Aaron that was quick!!!
Thanks a lot for that, I guess I should have realised there would be something
on the blog, I just hadn't looked.
Looks as though I've got a few changes to make to my code, but not too many.
Gerry
Emoticon3.gif
Description: GIF image
Should there be a sat-nav version then?___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
On 12/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Jeez Aaron that was quick!!! [image: Winking smile emoticon]
I was actually just about to read that blog entry when your message came
(and yes, Yehuda's post prompted me to look for info on this too).
Happy I could help.
--Aaron
--
I think maybe the form plugin needs to provide clearForm and resetForm
methods and perhaps options to perform these functions automatically
upon successful submit.
These change are now in.
http://jquery.com/dev/svn/trunk/plugins/form/form.js?format=txt
A little help please I have a sortable in and I want to be able to
replace the content and then reload the sortable. It works fine using
FireFox but IE allows for the item to be dragged but the sorting doesn't
work.
An example is here: http://brilliantretail.com/cases/sorttest/ Sort Test
Hi,
function addScript( url, doc ) {
doc = doc || document;
var script = doc.createElement( 'script' );
script.type = 'text/javascript';
script.charset = 'utf-8';
script.src = url;
doc.getElementsByTagName('head')[0].appendChild( script
After a little debugging I found the correct way to get what you are trying
to do or the jQuery way!!!
Check out $.getScript (http://jquery.com/api/) as it passes script in the
fourth parameter for AJAX get: and I think it would more than likely work
for you are trying to do and then you wont
Spam on
http://jquery.com/dev/bugs/bug/417/
--
Viele Grüße, Olaf
---
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
---
___
jQuery mailing list
discuss@jquery.com
Dave Methvin schrieb:
There was some discussion a month or two ago about splitter widgets. Did
anyone build one?
I think Stefan Petre did something like that.
--
Jörn Zaefferer
http://bassistance.de
___
jQuery mailing list
discuss@jquery.com
Spam on
http://jquery.com/dev/bugs/bug/417/
Yeah, it sucks - we have Spam checks on the bug tracker now, but it's
really really hard to delete spammy comments/bugs. Trac makes it very
difficult to do this, for whatever reason. Now that the Spam checks
are in place, I'll go back through and try
On 9/13/06, Klaus Hartl [EMAIL PROTECTED] wrote:
Hi all,
I worked a bit on the thickbox script to improve it. What bothered me,
was that when scrolling the window the thickbox window is moved to stay
in the center, but that happens not smooth at all.
So I changed it to use fixed
My guess is that you could do a WHERE comment LIKE '%whore%' and be in
pretty good shape.
;)
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
What do you mean by splitter widgets? Like a split pane view?
Yep, similar to this:
http://www.jackslocum.com/blog/examples/splitter3.htm
I didn't see anything in Stefan's site that would do it.
___
jQuery mailing list
discuss@jquery.com
anything... Im really stuck and its messing up my day :(
--
View this message in context:
http://www.nabble.com/Help-With-Sortabe-Reload-in-IE-tf2892329.html#a8081358
Sent from the JQuery mailing list archive at Nabble.com.
___
jQuery mailing list
Dave,
As a mere mortal I'm just surprised you haven't written one in between
asking the question??!! ;-)
BTW you wouldn't be THE Dave Methvin of PC Pitstop fame would you?
Regards,
Gerry
- Original Message -
From: Dave Methvin [EMAIL PROTECTED]
To: 'jQuery Discussion.'
On 12/28/06, Christopher Jordan [EMAIL PROTECTED] wrote:
Aw... dude! I didn't really understand this post to begin with, but I
didn't originally scroll down to see the comments. Don't people have better
things to do with their lives?
Crudeness like that really gets under my skin. :o(
Well,
Oh, also what is quantserve.com? It's near the bottom by google...
-js
On 12/28/06, Jonathan Sharp [EMAIL PROTECTED] wrote:
On 12/28/06, Christopher Jordan [EMAIL PROTECTED] wrote:
Aw... dude! I didn't really understand this post to begin with, but I
didn't originally scroll down to see
On 12/28/06, Jonathan Sharp [EMAIL PROTECTED] wrote:
Oh, also what is quantserve.com? It's near the bottom by google...
-js
I ment to say, there's a script reference in the source near the bottom
which sets some cookies and junk.
-js
___
jQuery
That's just a tracking script that I'm testing out, along with Google
Analytics. Don't worry about it.
--John
On 12/28/06, Jonathan Sharp [EMAIL PROTECTED] wrote:
On 12/28/06, Jonathan Sharp [EMAIL PROTECTED] wrote:
Oh, also what is quantserve.com? It's near the bottom by google...
-js
Found the error. It's at line 56 in the uncompressed version of idrop.js.
if (iEL.dropCfg.m == false) {
iEL.dropCfg.p = jQuery.extend(
jQuery.iUtil.getPosition(iEL),
jQuery.iUtil.getSize(iEL)
);//jQuery.iUtil.getPos(iEL);
iEL.dropCfg.m =
Seems like more of a FCKEditor question to me. From their documentation (
http://wiki.fckeditor.net/Developer%27s_Guide/Javascript_API ):
From out of an external script:
When placing the editor in the page, you give it an instance name. To
retrieve it, you must simply call the
What about:
$('div.comment,h3.change').each(function() {
if
($(this).html().match(/phenter|whore|sex|fuck|nude|xxx|urlcutter|pharm/)) {
$(this).remove()
}
});
Much more fun ;)
-- Yehuda
On 12/28/06, John Resig [EMAIL PROTECTED] wrote:
That's just a tracking script that I'm
This plugin is VERY cool:
http://www.consulenza-web.com/jquery-floating-windows-plugin.dc-14.html
The developer is Marco Pegoraro but I haven't seen him on the list. I'd
like to see if the docs could be translated to English.
Anyone know Marco?
Rey...
Here is my first attempt at a plug-in. It is definitely in the early stage
of development, but I thought I'd put it out here for you guys to rip apart
(and hopefully provide a suggestions or two)
Here it is = http://brilliantretail.com/cases/select/ Custom Select
Plugin
Let me know what you
Damn David, have you been looking at my computer!!! I was working on
something like this because I get a lot of designs from my designers with a
fancy select menu and I figured I create something with jquery to do what
you did. Oh well, your's looks better then what I was doing.
Nice job!
--
I need to know how to copy all of the events from one object to another.
Really getting stuck on this one.
What I am trying to do is write a script that replaces an A tag with a bunch
of clustered divs, and want to take the events from A tag (an onclick and
some custom ones generated by jquery)
As a mere mortal I'm just surprised you haven't written
one in between asking the question??!! ;-)
Well I started on one thinking it would be simple, but ran into some
problems so I figured I'd ask if anyone else had solved them. As Douglas
Crockford says, The good thing about reinventing
Heh... sorry, just needed the address, hit reply and did not remove the old
message.
M
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of blemming
Sent: Thursday, December 28, 2006 11:13 PM
To: discuss@jquery.com
Subject: Re: [jQuery] Duplicating
element.onclick should be a pointer to the click function, if it exists.
Is that what you need?
-- Yehuda
On 12/28/06, Michael Haggerty [EMAIL PROTECTED] wrote:
I need to know how to copy all of the events from one object to another.
Really getting stuck on this one.
What I am trying to do
well, I guess my plugin must not be that goodmy post got warpped into a
completely different topic :(
blemming wrote:
Here is my first attempt at a plug-in. It is definitely in the early
stage of development, but I thought I'd put it out here for you guys to
rip apart (and hopefully
My ideal custom select would:
* Be stylable in terms of borders and padding (based on the styles on the
select box itself)
* Delegate events on the custom select to the actual select (to allow for
$(select).click( // ))
* Position as you would expect a normal select box to position (minus weird
Nah,
I was asking a question about your plugin ;)
On 12/29/06, blemming [EMAIL PROTECTED] wrote:
well, I guess my plugin must not be that goodmy post got warpped into
a
completely different topic :(
blemming wrote:
Here is my first attempt at a plug-in. It is definitely in the early
* Be stylable in terms of borders and padding (based on the styles on the
select box itself)
There is no select box present in my plugin. If you notice it is based on a
grouping of nested divs and the padding and borders can be controled via css
* Delegate events on the custom select to the
Nice work David. It looks really good!
Cheers,
Chris
blemming wrote:
Here is my first attempt at a plug-in. It is definitely in the early stage
of development, but I thought I'd put it out here for you guys to rip apart
(and hopefully provide a suggestions or two)
Here it is =
I was just kidding. Turns out its been a long day and I often think I'm
funnier than I am
wycats wrote:
Nah,
I was asking a question about your plugin ;)
On 12/29/06, blemming [EMAIL PROTECTED] wrote:
well, I guess my plugin must not be that goodmy post got warpped into
a
I would love to add keyboard navigation to the dropdown but I don't even know
where to start.. Anybody have any pointers to get me started in the
right direction?
blemming wrote:
I was just kidding. Turns out its been a long day and I often think
I'm funnier than I am
wycats
Ah,
My ideal situation would be to have a select box that gets converted via JS
for graceful degradation.
-- Yehuda
On 12/29/06, blemming [EMAIL PROTECTED] wrote:
* Be stylable in terms of borders and padding (based on the styles on the
select box itself)
There is no select box present in
On 12/28/06, Yehuda Katz [EMAIL PROTECTED] wrote:
element.onclick should be a pointer to the click function, if it exists.
jQuery also adds an events property to each element that it handles events
for (it contains references to all of the event handlers registered by
jQuery to that element,
Hey guys and gals,
I know some of us use DW to do their coding for the pretty colors and the
code hints it provides, and since I have been using jquery for, well,
everything I decided to start creating those codehints. attached is what I
have so far, which is only the $ and A section of the
I tried to do a version replacing the select tag but I couldn't figure out
how to get the html from within the option tag. I could only get the text
using html() or text().
Any ideas?
wycats wrote:
Ah,
My ideal situation would be to have a select box that gets converted via
JS
for
btw,
If you want to give the functions color in DW, goto C:\Documents and
Settings\[Your Directory]\Application Data\Macromedia\Dreamweaver
8\Configuration\CodeColoring and open CodeColoring.xml (of course you should
make a back up) and at about line 534 or so paste the code below just below
line
I love both of these, but any way to get a full list? The partial list is
only of little help :)
Either way, awesome stuff, and thank you,
bmsterling wrote:
btw,
If you want to give the functions color in DW, goto C:\Documents and
Settings\[Your Directory]\Application
92 matches
Mail list logo