I could be wrong about this, but my understanding is that strings are
immutable in JavaScript. Every time you append to a string what's
actually happening is that a new string object is being created with
its contents set to be the first string plus the second string,
whereas the original string
There is a (yet not released, therefore undocumented) option for that,
positionLeft, accepting a boolean true. left refers to the position
of the tooltip in relation to the mouse. positionBottom isn't
available, but would be straightforward to implement, if requested.
Get the latest version
Can you upload a testpage and post the link here?
Jörn
On Thu, Jul 17, 2008 at 5:09 AM, Justin [EMAIL PROTECTED] wrote:
Hello all,
I'm using the autocomplete plugin (http://jquery.bassistance.de/
autocomplete/demo/) and everything runs fine in Firefox and Opera, but
in Internet Explorer
Giving it a class of cancel will bypass the validation.
Jörn
On Thu, Jul 17, 2008 at 3:22 AM, Jeff [EMAIL PROTECTED] wrote:
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.
I am embedding an external page (with permission) in an iframe on my
page. The problem is when the page has a link with a target value of
_top it navigates out of the frame.
An example link I could try to change is:
a target=_top href=http://jobsearchlog.com;Job Search Log/a
I want to
Hi All. Not sure if this is the right place for it, so sorry if not.
Just thought some people might find this little firefox extension I
wrote handy. It adds jquery documentation links to your firefox menu.
Very simple but I find it useful!
it's likely that you have an extra comma or something like that
somewhere.
On Jul 16, 11:09 pm, Justin [EMAIL PROTECTED] wrote:
Hello all,
I'm using the autocomplete plugin (http://jquery.bassistance.de/
autocomplete/demo/) and everything runs fine in Firefox and Opera, but
in Internet
Hi Andy,
parents doesn't do quite what I want. I want a method I can use in
event delegation handlers that basically says, 'Give me the nearest x
element'. I could of course check the current element, if it doesn't
match I could then do a parents and then work on the 1st result in
that, but
[EMAIL PROTECTED] wrote:
Just like those on many on-line shopping stores, is there a jQuery
plugin that we can use to zoom in/out an image? :-) or which approach
should I take to make such applications? many thanks..
Search for jQuery lightbox, thickbox, photobox or even jqModal. There
are
Good morning,
I have a problem with IE when using jqModal.
When I want to display a styling (example 3a) I did not cross cloture
while it works in Firefox.
Do you have a solution to this problem?
Thank you
Hey folks, I am getting weird flashing/opacity pumping happening on
mac firefox when I use the fadeIn or fadeOut effects. The flash is
happening on the whole page while the fades are only happening on the
elements I've attached them too.
Anyone know what causes this and how to fix it?
Thanks
Hey all,
I'm trying to implement validation using the Validation plugin on an
ASP.Net (1.1 :( ) form. I'm having trouble with setting up the
rules, because they require the form element's name tag to assign
the rule to, and ASP.Net does some funky stuff with the names (changes
a name=myname to
Hi,
I'm building a tool that is used to configure a build process. The
website is based on a XML file that is transformed with XSLT into
XHTML. The users can then edit the page by updating the DOM in
different ways (input fields, new elements etc), when they are
satisfied they should submit the
Hi,
We are interested in using JQuery Freamwork in our web base product.
Currently we are using frames.
We want to replace frames by panel and to refresh specific panel,
will have to use JQuery AJAX submit. Is there any other way for
achieving this other than AJAX Submit?
On Jul 16, 6:54 pm, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
Or get a copy of Learning jQuery and read half an hour in the morning
or evening.
Jörn
shrug A half hour for a techie genius, perhaps. For the rest of us
mortals, rather longer. It's a complex system is jQuery, as are so
many of the
HI ..
I am a bit surprise that anyone work on that ..
It's the ultimate mod for this script ..
Is there a way to add an animation to teh menu on mouseout? I would
like the menu to roll back up.
Any suggestions?
Thank you very much for your reply. It works when I added the index
function:
$('.new').livequery('click', function(index)
but I get Object object 2 instead of a new number each time I click
on the link. How can I fix that? Thank you very much.
On Jul 16, 7:29 pm, spicyj [EMAIL PROTECTED]
Hi,
Running a standard off-the-shelf date picker using Jquery UI using the
following code:
$('#live_from').datepicker({
dateFormat: 'yy-mm-dd',
showOn: 'both',
buttonImage: 'includes/images/app/calendar.png',
buttonImageOnly: true
});
$('#live_to').datepicker({
dateFormat:
Thanks Jörn
But which of those methods is mapped to a class, and how ?
The example at the top of the page uses class=required email. Could
I use a class of min(12) for instance. Presumably not. So would it
be a good assumption that all methods that do not have arguments are
represented as
I've written a sensible extension to insert and remove titles in input
fields to save space, i.e. Email [__] Name [___] is just
[Email] [Name]
example: http://www.popnoodles.com/ - click on Contact on the left
menu, once it loads click the fields and you can see the extension
Maybe post your code or a link to the page so others can see
First of all you need to get the HTML correct. There are so many
errors in your code it won't work even with correct jquery.
Very quickly...
You need to declare the type as an accepted type and give it a name.
input type=text name=name /
input type=text name=lastName / etc
You've added spaced
$(a[target='_top']).attr('target','_blank');
or
$(a[target='_top']).attr('target','your_iframes_name');
On Jul 17, 5:04 am, mickbw [EMAIL PROTECTED] wrote:
I am embedding an external page (with permission) in an iframe on my
page. The problem is when the page has a link with a target value
It is suggested you used the minified and gzipp'd version, as the
packed version will require additional processing to unpack or
decompress it, as mentioned on the jQuery site:
http://docs.jquery.com/Downloading_jQuery
If you don't want to worry about correctly gzipping your source files,
or if
Doesn't work that way James. Head over to the Google Groups website to
unsubscribe.
_
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of James Smith
Sent: Wednesday, July 16, 2008 9:12 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] unsubscribe
unsubscribe
Colin...
None of those plugins that you mentioned are for zooming in and out of
images. They simply display a larger version of the image as an overlay to
the page.
Lihao...
Here's a few that I found with a quick Google search:
http://exscale.se/archives/2008/02/11/jquery-image-zoom-plug-in/
Hi all,
I'm using JQuery UI to implement dialogs for my application. However
on start up I can momentarily see the div's that later become dialogs
after $(#example).dialog(); has been called.
Is there a way to hide those div's in advance of $
(#example).dialog(); being called?
Thanks,
Jeroen
I had an Oh...Duh! moment and was able to optimize my script a bit
more. Things are always a little clearer the next day.
I'm now selecting the drop down lists by class name instead of name
attribute. I'm also grabbing the show/hide div with .next() instead of
by name.
I'd still be interested
Karl,
Looks like ajax manager is exactly what i need. I'd seen the queue
plugin before but it didn't look as full featured as i wanted it to
be.
On Jul 16, 9:35 pm, Karl Rudd [EMAIL PROTECTED] wrote:
No stack orqueuebuilt into the jQuery wrappers aroundAJAX. It's
asynchronous so queuing it,
you should set the display property to none.
i.e. div id=example style=display: none;/div
On Jul 17, 7:47 am, jeroen [EMAIL PROTECTED] wrote:
Hi all,
I'm using JQuery UI to implement dialogs for my application. However
on start up I can momentarily see the div's that later become dialogs
partner[etc],
Currently, when the pan ends, an onEnd event is fired, which then
fires off the ajax. So what you're suggesting is that i queue the pan
onEnd events?
Nope, I think. Back to your pan-pan-pan-pan-pan situation, doing
what you suggest would still fire 5 times (onEnd fires after
I have following requirement for doing submit using AJAX.
I have a form which contains 15-20 input fields/attributes,
user can enter special character in those fields.
Response HTML can contain SCRIPT(on load script call) and CSS,
Can JQuery AJAX Form submit
I current add a form to the page, which is then submitted and returns
binary content (e.g. a PDF or Word/RTF Document) that causes a prompt
for them to open/download the file:
var form = $(document.createElement(form)).attr(
{
method: post,
action:
Okay I figured out my problem, When i was building my array of items
for the autocomplete, I had an extra , after the last item in the
array, and that trailing comma was what was pissing internet explorer
off, I just simply popped that last comma off and everything works
fine in all browsers.
On
Hi,
I'm trying to have some shadows on this amazing menu plugin.
I did a little skinning but nothing too big.
And I don't have any shadows for example... also many other features
seams to be disabled, but are not in fact.
Well, I ask a little help about this.
The page with the menu :
On Jul 17, 11:24 am, Mdj [EMAIL PROTECTED] wrote:
input fields are not updated if I just return $(body).html(). Is
there a general way to return the entire updated DOM?
Nevermind, I just convert the input elements to text after edit.
/Morten
Just use a regular form, with no Ajax.
--
Ariel Flesler
http://flesler.blogspot.com
On 17 jul, 12:20, Sam Collett [EMAIL PROTECTED] wrote:
I current add a form to the page, which is then submitted and returns
binary content (e.g. a PDF or Word/RTF Document) that causes a prompt
for them to
Is there a plugin for this by chance? I know it's pretty quick to write, but
wanted to find out if someone's already done it better than I could.
Also, would toggle() work for this sort of thing? Is there a focus/blur
toggle in the jQuery core?
Andy
How about:
$(#myelement).parents(table:eq(0))
Does that do what you want?
Example: http://demos.texotela.co.uk/parents.html
--Sam
On Jul 17, 7:51 am, ProggerPete [EMAIL PROTECTED] wrote:
Hi Andy,
parents doesn't do quite what I want. I want a method I can use in
event delegation
It's a FF2/Mac opacity bug.
This will solve it:
($.browser.mozilla parseFloat($.browser.version) 1.9
navigator.appVersion.indexOf('Mac') !== -1) $('body').css('-moz-
opacity',.999);
On Jul 17, 6:45 am, iain duncan [EMAIL PROTECTED] wrote:
Hey folks, I am getting weird flashing/opacity
It looks like your required-implementation is the faulty one. You need
to quote the name: $(input[name='...'])
Jörn
On Thu, Jul 17, 2008 at 8:46 AM, Gregoriusness [EMAIL PROTECTED] wrote:
Hey all,
I'm trying to implement validation using the Validation plugin on an
ASP.Net (1.1 :( ) form.
Sorry, I should have made that more clear: Half an hour each day!
Jörn
On Thu, Jul 17, 2008 at 11:41 AM, fredriley [EMAIL PROTECTED] wrote:
On Jul 16, 6:54 pm, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
Or get a copy of Learning jQuery and read half an hour in the morning
or evening.
Jörn
Yes, thats exactly it!
You can still fall back to metadata, eg. class=required {min:2}
(just include the metadata plugin, part of the distribution).
Jörn
On Thu, Jul 17, 2008 at 1:32 PM, Andiih [EMAIL PROTECTED] wrote:
Thanks Jörn
But which of those methods is mapped to a class, and how ?
I wrote this a while back:
http://dev.jquery.com/browser/trunk/plugins/clearonfocus/jquery.clearonfocus.js
--
Brandon Aaron
On Thu, Jul 17, 2008 at 11:19 AM, Andy Matthews [EMAIL PROTECTED]
wrote:
Is there a plugin for this by chance? I know it's pretty quick to write,
but wanted to find out
I thought as much. Thanks Brandon. Standard usage applies?
$('#element).clearonfocus();
?
_
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Brandon Aaron
Sent: Thursday, July 17, 2008 12:27 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Input field:
its really a javascript question...
The 3 parameters var1, var2, var3 that are used my my new Function -
I'd like to be able to do this using an array. After an hour on the
web I haven't been able to find a way...
var fn = new Function( 'var1','var2','var3', func);
your page throws a few errors and I didn't see jquery being loaded,
only some plugins.
'input','textarea' == this would try to find INPUT tags inside a
context of TEXTAREA tags.
you want:
'input, textarea' == remember the jquery selectors behave like CSS
selectors.
I didn't notice until now that my quotes are already being escaped
somewhere between after I call $.post() and when my php page picks
them up. I have been using mysql_real_escape_string for the way into
the DB and strip_slashes for the way out.
I don't really want to strip_slashes before I post
you're looking at pretty much completely re-architecting your app. I
originally thoguht ajax-loading scripts and css is a no-brainer, but
discovered it's kind of a hassle, though certainly doable.
I am trying to add a loading gif to the form plugin, but each time I
do, it breaks.
I am using:
$(document).ready(function() {
//Create function for ajax asset builder
$('#page_asset_builder_28031').ajaxForm({
iframe: true,
success: function(html) {
$(#loading).show();
It is in the comments ... if you don't have a default value set ... you'll
need to set a value like so:
$('#element').val(Search).clearonfocus();
or if your html looks like this:
input type=text value=Search ...
then you can just call it like this:
$('#element').clearonfocus();
--
Brandon
All ASP.NET controls have a ClientID, which matches the ID generated
in the HTML, so you should be able to replace:
% = namePostcode %
with
%= namePostcode.Replace(:,\:) %
and
$([EMAIL PROTECTED] + %=chkLinkAccount.ClientID % + ])
with
$(#%=chkLinkAccount.ClientID %)
--Sam
On Jul 17, 7:46
$all = $('.listing .myDivs');
$all.get(0).css('color','#339900');
why would this throw an error function css does not exist ??
I tried this too with no luck:
$('.listing .myDivs').get(0).css('color','#339900');
I have a simple menu which are shown when you click on a link. Is it
possible to hide the menu when I click outside it?
Any help are appreciated. Thanks.
Still an interesting question, sorry I didn't reply. Its obviously easy to
hold a dom on the server and serialize it all to the client as a
continuation of state. It's not so easy on the client as some things may
hidden from you by the browsers internal state implement since it's not
I tried posting this yesterday, and it didn't seem to post. Apologies
if two messages appear.
I need to catch the data retreival - even on null sets - from
autocomplete.
In my example:
I am using autocomplete to fetch items from a database. When an
option is selected, a result() function
Jörn, just what I was looking for. Thanks!
Now that I've got the option to put the tooltip on the right or the
left of the pointer, setting it to top or bottom would be helpful as
well. Currently it defaults to displaying below the mouse, but the way
my site is laid out, there are some instances
Are already tried remove .get(0)?
Cos .get(0) return the element its self.
and element dont have css function, only jQuery has.
On 17 jul, 16:07, jquertil [EMAIL PROTECTED] wrote:
$all = $('.listing .myDivs');
$all.get(0).css('color','#339900');
why would
How would i make Navigation layer fix it self at top of the window
after some point of scrolling, so its always visible.
Like the right side menu at this link:
http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0002240
thx.
Andy Matthews wrote:
None of those plugins that you mentioned are for zooming in and out of
images. They simply display a larger version of the image as an overlay to
the page.
Ahh OK, It's just when you said like shopping carts and this is what
I've mostly seen shopping carts do (larger
I am trying to add a loading gif to the form plugin, but each time I
do, it breaks.
I am using:
$(document).ready(function() {
//Create function for ajax asset builder
$('#page_asset_builder_28031').ajaxForm({
iframe: true,
success: function(html) {
$(#loading).show();
It's all good. You tried to help out, and that's super important. I'll bet
that some people on the list haven't heard of the plugins you mentioned.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Colin Guthrie
Sent: Thursday, July 17, 2008 11:15
I'm trying to learn jquery and the first sample I copied does not run
- I get an err in my FF3 console that says $ is not defined.
Here is my code:
html
head
script type=text/javascript src=../js/jquery/jquery.js/
script
script type=text/javascript
$(document).ready(function(){
Colin, check out my Magnify plugin, it's not zooming but it does allow you
to see finer details of an image.
http://plugins.jquery.com/project/magnify
-- Josh
- Original Message -
From: Colin Guthrie [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Thursday, July 17, 2008
Dear folks,
My system is working with AJax and I need to save some of my data with
Cookies as you all know I have to handle this with javascript cookie
and Server Cookie both when I call the AJAX I change the Value of
the Cookie then when the AJAX loads the Server PHP file it recognizes
the
jquertil,
Try:
$all[0].css('color','#339900');
or
$all.eq(0).css('color','#339900');
As Alexsandro pointed out in his response, .get(0) returns the actual
DOM element, not a jQuery object, so you can't use jQuery functions
(like .css) on it.
Carl
jquertil wrote:
$all =
I'd implement those if I'd have the time. If you need it anyway, maybe
this works out: You add the modifications you need
(positionBottom/Center) and send me a patch or just the modified file,
via mail or the jQuery bug tracker. Add a html testpage with the new
options in use and I should be able
Hello... this has to be something poeple have done before. I managed
to only do about half of what I intended to - I'm stuck in the middle
(seee //comment).
I got a list of stuff and want to be able to select items using the
arrow keys.
ol
li class=itemblah/li
...etc...
I've bound key events
I would have guessed he was looking for something like google maps
zoom (with scrollwheel support). I haven't seen one of those...
I am having a strange problem, where a function is freezing the
browser.
I have an iframe, which has an input field, and I want the text from
this, to update some inner html in its parent frame.
Have I don't something totally wrong here?
//Add update name function
Hi,
On Jul 17, 4:06 pm, tlphipps [EMAIL PROTECTED] wrote:
you should set the display property to none.
i.e. div id=example style=display: none;/div
I tried that, the dialog is now not shown before it is opened but now
the content of the dialog is not shown?
regards,
Jeroen
Hi,
Is there a way to get the text of a selected tab? and can i get that
from select event? for example
$('#example').tabs({
select: function(ui) {
// return the text of the tab you just clicked
}
});
please help
thanks
zm
I just put a new GridTable-Plugin online:
http://plugins.jquery.com/project/GridTable
Any comment appreciated,
Kai
hi
Probably this line is bad...
script type=text/javascript src=../js/jquery/jquery.js/script
Usually u'll get this error when jquery can't be found. ( I'm getting
it only then )
Check if ../js/jquery/jquery.js exists on this location at all. Rest
of code looks ok I think lol.
On Jul 17, 9:48
I'm not sure it's a bug... :-S
Personally, I think it's best practice to use something along the lines of
the text2html function I posted (below)
// Convert text to XML DOM
var text2xml = function(s) {
var x, ie = /msie/i.test(navigator.userAgent);
try{
var p = ie? new
Hi,
I made this plugin last week and it just seems that out of nowehere everyone
seems to be looking for it:
XML 2 JSON:
http://www.fyneworks.com/jquery/xml-to-json/
Hope it helps...
Cheers,
Diego A.
2008/7/16 linesandwaves [EMAIL PROTECTED]:
Hi all,
I realize this is a gigantic newbie
Hi all.
I got one I think ridiculous question but if anyone knows, I'm sure
that someone here will know for it. :D
Is it possible to do web page zooming ( - and + ( - will be
enough :D :D ) ) with jQuery?
I know that I can do it on way so that complete web page layout is in
%. But if
Is there a way to override the XMLHTTPRequest object used in jQuery’s
AJAX API?
I would like to use a custom implementation of XMLHTTPRequest.
Thanks!
The only problem I've come across with Safari and cookies is that it
sometimes doesn't like cookies without an expiry time.
I don't know if that's the problem you're coming up against.
Karl Rudd
On Fri, Jul 18, 2008 at 6:09 AM, [EMAIL PROTECTED] wrote:
Dear folks,
My system is working with
Very nice!
On Mon, Jul 14, 2008 at 9:00 PM, Kevin Pepperman [EMAIL PROTECTED] wrote:
I think this plugin does what you are looking for:
http://plugins.jquery.com/project/EUReCa
On Mon, Jul 14, 2008 at 10:11 AM, Yavuz Bogazci [EMAIL PROTECTED] wrote:
Hi,
is it possible to call php
Andy Matthews wrote:
Is there a plugin for this by chance? I know it's pretty quick to write,
but wanted to find out if someone's already done it better than I could.
Also, would toggle() work for this sort of thing? Is there a focus/blur
toggle in the jQuery core?
Something similar I did
A simple
iframe.ui-datepicker-cover { display:none; }
solved it for me.
Jay wrote:
Hi,
Running a standard off-the-shelf date picker using Jquery UI using the
following code:
$('#live_from').datepicker({
dateFormat: 'yy-mm-dd',
showOn: 'both',
buttonImage:
You could call
$(el).show().dialog(options)
or you could have the element inside a hidden element. When you call
.dialog() it will be moved elsewhere.
- Richard
On Thu, Jul 17, 2008 at 4:24 PM, jeroen [EMAIL PROTECTED] wrote:
Hi,
On Jul 17, 4:06 pm, tlphipps [EMAIL PROTECTED] wrote:
you
I couldn't find the JavaScript that's making it work, but it looks
like it's adding a class to the postcomment div when the window's
scrollTop is equal to or greater than the div's offset top. The class
has a style declaration with position:fixed.
here is a quick and dirty way to do this
On Jul 17, 2008, at 3:59 PM, Carl Von Stetten wrote:
jquertil,
Try:
$all[0].css('color','#339900');
or
$all.eq(0).css('color','#339900');
As Alexsandro pointed out in his response, .get(0) returns the actual
DOM element, not a jQuery object, so you can't use jQuery functions
(like .css) on
i figured it out
$('#example').tabs({
select: function(ui) {
if($.browser.msie)
alert(ui.tab.innerText);
else
alert(ui.tab.text);
}});
for IE it;s ui.tab.innerText and for FF it is ui.tab.text
zm
On Jul 18, 1:09 pm, zlich [EMAIL PROTECTED] wrote:
i figured it out
Not very well.
$('#example').tabs({
select: function(ui) {
if($.browser.msie)
// For all browsers that support IE's innerText
if (typeof ui.tab.innerText == 'string') {
89 matches
Mail list logo