hi. i am interested in using the cycle plugin and i dnt know how to get
started.
http://www.malsup.com/jquery/cycle/pager10.html
i want to use this plugin.
Now i dnt know how to get the nav links
when i checkd the source there is only a *div id=nav* but nothing in
it..when i checked using
I used the following on a submit button, based on two input items, to
ensure that both had to be completed(not empty) before the button was
enabled, it also fades it out to 50%
$(#inputIDone,#inputIDtwo).keyup(function(){
if($(#inputIDone).val()!= $(#inputIDtwo).val()!=){
ok i got it working. I was wondering if it is possible to change the
nav links caption, or put some other image, not the source image but
image of our choicethanks
On May 7, 1:46 pm, idrish laxmidhar idrishlaxmid...@gmail.com wrote:
hi. i am interested in using the cycle plugin and i dnt
Hi there,
I recently came across this article that explains how to make
intellisense work with google hosted reference:
http://blog.dmbcllc.com/2008/12/10/host-jquery-at-google-with-intellisense-support/
Basically I would like JQuery support in asp.net and be able to
reference the google
Thanks it works(returns the wrapped set and allows chaining) when I
return the selector straight away from within the plugin but when I
try and return a filtered set
$.recurse({source:a_1}).setDisabled(true)
it will not allow chaining and I get
TypeError: $.recurse({source: a_1}) is undefined
Perfect, thank you Jorn.
Luigi
On May 6, 3:06 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
That doesn't need the validation plugin. jQuery can do this by itself:
$(#first).click(function() {
$(#other).attr(disabled, true);
});
Jörn
On Wed, May 6, 2009 at 11:37 AM,
Hi all,
having a form with a radio button and 2 textboxes, how can I make that
when the user select one value of the radio button, the second textbox
assume the same text value of the first textbox?
Thanks in advance.
Luigi
Im having trouble to validate my form because I'm missing a submit
button inside the form, I submit my form by another link outside the
form.
a href=# onclick=document.validateThis.submit(); return
false;save/a
form id=validateThis name=validateThis method=POST action=
input type=text
Thanks. I have exactly the same issue. If using jquery-mini, here is
the code to insert:
// search for this
return N.toUpperCase()});if(L){
// insert this
if(K=='NaNpx'){K=''}
//before this
J[G]=K}return J[G]}
result:
return N.toUpperCase()});if(L){if(K=='NaNpx'){K=''}J[G]=K}return J[G]}
On 28
Hi there,
I am trying to move the div object, but it seems doesn't work. any
ideas? Thanks
script language=javascript
$(document).ready(function () {
$(div/ )
.attr( id, myDiv)
.addClass( header )
Hello!
I've had the pleasure of implementing some of the jQuery plugins @ a
site I'm making:
http://www.heikewicht.com
If you open any of the video sites, such as
http://www.heikewicht.com/portfolio-04.html
in firefox, the quick time player loads as usual. The same thing seems
to happen in IE,
I'm trying to figure out how to make the code below cycle though the
images, and make a li have class active then it matches the slide
image. Any help would be great.
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
html
This is regarding use of jquery validate plug-in.
I have ten fields of type=file with name=thumbs[]
I have added class=required to the first three, but does not give
the intended result. obviously i'm trying to require the first three
of the ten possible thumbnails image uploads.
how do i
I'm trying to mimic the gucci.com site (http://www.gucci.com/us/us-
english/us/spring-summer-09/ready-to-wear/) where the different styles
are only loaded when they are visible on the screen. When you scroll
to the right, the next visible panels are loaded (only when they are
shown visible).
Hi,
I am using this code:
var options =
{
url: '../Account/Upload',
type: 'POST',
contentType: 'multipart/form-data',
dataType: text,
error: function(XMLHttpRequest, textStatus,
Hello,
I dowloaded the last version of this plugin that looks great.
But here is the big big problem.
I just tested the most trivial examples on the following webpages :
http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Examples
I checked the example :
Customising the file list -
You need to trigger the validation by using jQuery's trigger method,
eg. $(#validateThis).submit();
Calling the DOM submit method directly avoids the validation.
Jörn
On Thu, May 7, 2009 at 7:30 AM, sjoerdm sjoerd.maes...@scarlet.be wrote:
Im having trouble to validate my form because I'm
The validation plugin requires unique names, except for groups (radio,
checkbox), where each element in the group has to have the same
element.
You can add an index to your names: thumbs[0], thumbs[1], etc. PHP can
handle that, too.
Jörn
On Thu, May 7, 2009 at 4:25 AM, JLHeidecker
Josh,
First the firstload=0 and not resetting the variable was left off. But
ultimately is unrelated to the asynchronous problem you pointed out.
Asynchronous loading makes a big difference here. As a pretty recent
user of jquery, I obviously designed this code wrong.
So here is what I what
Hi,
I have a few document ready functions on my page. I don't want the
functions to get executed if the page is loaded because the user
clicks on the browser forward/back button. Is there a way to prevent
the document ready functions from getting executed if the user clicks
on the forward/back
Are you using window.onLoad or DOMContentLoaded. If you are worried about
them pressing the back button then use window.onLoad because it waits till
everything is done loading, not till the DOM content is ready to be
manipulated. It shouldn't hurt anything if they press the back button,
unless
I don't understand the problem...
$(element.form).ajaxSubmit(); should do it.
On Apr 27, 10:05 pm, Haaf dko...@quicknet.nl wrote:
Hi,
I'm using
themultifileuploadplugin(http://jquery-multifile-plugin.googlecode.com/svn/trunk/index.html#)
and I would like to be
able touploadan image on
I'm using the JQuery document ready function. I have something like
the following on the top of my page.
script type=text/javascript
$(function() {
$('#type').attr('disabled', true);
});
/script
I only want the function to get executed when the page is loaded from
the web server (but
You need to use the simbol # before the name of ID.
$( #myDiv ).css('left', '150px');
On Wed, May 6, 2009 at 22:22, ace jquery acejqu...@gmail.com wrote:
Hi there,
I am trying to move the div object, but it seems doesn't work. any ideas?
Thanks
script language=javascript
At a basic level, treat the jQuery selector syntax as if you were
adding a CSS selector and you won't go far wrong.
On May 7, 1:36 pm, Leonardo K leo...@gmail.com wrote:
You need to use the simbol # before the name of ID.
$( #myDiv ).css('left', '150px');
On Wed, May 6, 2009 at 22:22, ace
Good morning all. I've been modifying a jQuery mega menu script for
a site I am developing.
The original script/menu can be found here:
http://www.sitepoint.com/blogs/2009/03/31/make-a-mega-drop-down-menu-with-jquery/
Anyway, with my version I can't get the two rightmost pull downs on
the menu
Nobody knows how to remove plugin after it has been added?
On May 6, 4:04 pm, epitka exptrade2...@yahoo.com wrote:
Hi,
How do I remove autocomplete from the text box dynamically. I have a
text box that will perform two kinds of searches depending on the
context (don't ask me why, beyond my
There is an unautocomplete-method.
Jörn
On Thu, May 7, 2009 at 3:03 PM, epitka exptrade2...@yahoo.com wrote:
Nobody knows how to remove plugin after it has been added?
On May 6, 4:04 pm, epitka exptrade2...@yahoo.com wrote:
Hi,
How do I remove autocomplete from the text box dynamically. I
I tried, but it does not work. The sitaution I have is that user has a
radio button to specify under what context search is performed. As
user check the box, input field is put in focus, input value cleared,
previous autocompleteremoved and new one added. However, it does
not remove previous
To answer this question very well, look at the book by Sitepoint.com
called Simply Javascript. They explain how Javascript Frameworks
(like jQuery) are used to simplify Javascript techniques. In this
book, they actually build their own Javascript framework. For
instance, being able to select
I am sure I tried this before but I got it working by returning the
filtered set to a var and then returning that to the function
var matches = $(:input[id^= + settings.source + ]).filter
(function() {
return $(this).attr(id).match(regEx);
});
return matches;
Hi all,
I mainly work in Firefox land and don't have to bother with IE much
(Lucky me). I wanted to share one of my plugins with the public and
therefore need to make it work across all browsers.
The problem I am having is that even though I set a colspan for a td,
IE does not render it
change: this.text //this code you are not using the power of the jquery
:D. Its just regular javascript.
to: $(this).text()
This should work crossbrowser. Ex: http://jsbin.com/usazu
On Wed, May 6, 2009 at 01:08, infoaddicted jack.lapla...@gmail.com wrote:
I have some HTML:
a href=#
Can anyone give me a definition of what a destructive event is in JS?
When using .end() it undoes the last destructive event
thanks
Hi all,
I'm using the cool jQuery plugin Treeview, and I am trying to get it
to work rtl instead of the default ltr. I am aiming for a real rtl
in a sense that the tree nodes will open rtl too. Is it possible to
achieve this using the plugin?
Thanks,
Or
Hi All,
I would like to ask you for help with some behavior with replace DIV
content. I understood why it happens but I don’t know or I don’t
clearly understood how I can fight against.
When I use ajax jquery call $load and replace DIV with new html
content I lost DOM binding for new html
Hi,
I use the Form Plugin to store some user info in my database. When
inserting the data i have some troubles with special chars. Words like
Rëmkó will be converted to Rëmkó.
I submit the data to a file like this
$DB-query(INSERT INTO exp_members (screen_name) VALUES ('.$_POST
['name'].'));
ok i got it working. I was wondering if it is possible to change the
nav links caption, or put some other image, not the source image but
image of our choicethanks
You can have the links contain whatever you wish using the
pagerAnchorBuilder option. Check out the following demos:
Remko ha scritto:
Hi,
I use the Form Plugin to store some user info in my database. When
inserting the data i have some troubles with special chars. Words like
Rëmkó will be converted to Rëmkó.
I submit the data to a file like this
$DB-query(INSERT INTO exp_members (screen_name) VALUES
Nope, not supported. Nor likely to be added anytime soon.
Jörn
On Thu, May 7, 2009 at 1:56 PM, orcaman orhil...@gmail.com wrote:
Hi all,
I'm using the cool jQuery plugin Treeview, and I am trying to get it
to work rtl instead of the default ltr. I am aiming for a real rtl
in a sense that
I've updated my previous cheat sheet to be in line with jQuery 1.3.2.
I think it's more useful than other cheat sheets that simply dump
method names, but hey, that's personal preference ;)
http://www.javascripttoolbox.com/jquery/cheatsheet/
Enjoy
Matt Kruse
That's what i thought ass well, i've checked my chartset of my script,
database and collation. All of them are utf-8. The form page ass well.
On 7 mei, 17:57, Giovanni Battista Lenoci gian...@gmail.com wrote:
Remko ha scritto: Hi,
I use the Form Plugin to store some user info in my
I'm using the validation plugin to perform client side validation on a
form that uses $.post.
To be safe, I also re-validate all inputs on the server side. Ideally
I'll never have a case where client-side validation passes but server-
side validation fails, but in case I do, I want to display
The .each is the problem:
if(data.status == false) {
// update form errors
$(#calib_entry).validate().showErrors(data.errors);
}
On May 7, 10:35 am, Brad nrmlcrpt...@gmail.com wrote:
I'm using the validation plugin to perform client side
Well it's a little tricky because of the asynchronicity. The way I might
handle it is to set some kind of isLoaded global object that gets
poplulated each time an async call returns. You more or less already have
that. Then, create a polling function using setInterval or setTimeout
that checks
jQuery('#topfader-parent-forum').cycle({fx:'fade',speed:800,timeout:
6000,pause:5 });
That's cycle() plugin code that works.
Question: how do you make each inner element -- .topfader-child-forum
-- change its visibility to show as it's shown?
Maybe something like the below (untested):
However, I'm not sure how your radio buttons are laid out. In my
example having only one radio button doesn't really make much sense
(you can't unselect it..), but hopefully you get the idea.
textarea id=text1/textarea
textarea id=text2/textarea
input
I don't think label inside an option is a valid attribute. I'd
remove that. Is there a reason you're using that? Maybe you should
consider using the title attribute instead.
On May 6, 1:42 pm, Michael B. Williams mbw...@gmail.com wrote:
Consider the following select box:
select id=test
Live events are probably what you're looking for. They allow you to
bind events to dom nodes that don't exist yet.
http://docs.jquery.com/Events/live
However they don't work for change.. you would have to refactor your
code a bit to use 'click'
On May 7, 7:00 am, vmoravek
Oops, hit send accidentally. The problem was that I didn't need to
iterate over each error. A single call to showErrors handles them all.
if(data.status == false) {
// update form errors
$(#calib_entry).validate().showErrors(data.errors);
}
On May 7, 10:39 am, Brad
The following example works great in Firefox, and Chrome but fails
miserably in IE (6,7,8). I'm running JQuery 1.3.2 if it makes a
difference:
$('resp',rootrespvalue/resp/root).text();
That evaluates to vaule in everything except IE. Am I missing
something?
Don't speculate, look up:
http://www.w3.org/TR/html401/interact/forms.html#h-17.6
It's valid.
This attribute allows authors to specify a shorter label for an
option than the content of the OPTION element. When specified, user
agents should use the value of this attribute rather than the
This is slightly off topic, but if anybody can solve this, it'll be this
mailing list. The basic question is: Is there a way to catch an error
thrown in an external js library so that I can continue parsing the
remaining javascript on the page?
The more detailed version is this: I'm using
Hello All,
I am trying to clean an Ajax JSON response of some invalid characters.
Basically, I make an Ajax call using POST, and dataType is json. One
of the variables in the JSON is a path, which contains backslashes. I
also have a variable called notes which contains lots of text and line
http://plugins.jquery.com/project/media
I am trying to use a jquery plugin to embed a large wmv video. I'd
like to show a loading spinner or other statusbar but the player
immediately appears and sits black while waiting for the video to
load.
Are there any options?
Thank you!
Doug McCaughan
Hello All,
I am trying to complete an Ajax request in which PHP returns a JSON-
formed string. One of the variables inside the JSON object contains a
path, which contains backslashes. This seems to cause a problem
because nothing in the success function seems to run. So, I tried
cleaning the
Hi there, so I am trying out jQuery recently, moving from MooTools,
and needed to do some AJAX. Here is my code:
$(document).ready(function(){
$('#events_box a.ajax_replace').click(function(e){
e.preventDefault();
$('.news_border').slideUp('slow');
Question for the Group.
When using jQuery Ajax functionality, how does the timeout work? Does
the timeout start when the function is called or when the browser
starts the request?
example: (not jquery code)
var a = get(pageA)
var b = get(pageB)
var c = get(pageC)
var c = get(pageD)
var e =
Hi Devesh,
I presume you are using the Balupton edition of Lightbox for JQuery.
I had the same problem error message, but it I wasn't using jqGrid -
it turned out to be a file location problem.
Lightbox uses a fixed file structure to locate files dependant on
whether it is compressed or not.
I am currently working on a site that uses jQuery throughout and I
would like to have someone review it and let me know of some possible
errors or other options.
Here is the site: http://www.katart.biz/ae/
I know of a couple issues that I am already having.
1. Some functions seem to not fire
try changing your parameter in the success method to something other
than return and see what happens..
On May 7, 10:40 am, Eli Perelman e...@cobaltds.net wrote:
Hello All,
I am trying to complete an Ajax request in which PHP returns a JSON-
formed string. One of the variables inside the
I created a simple test case:
http://www.perturb.org/tmp/jquery-test.html
On May 7, 12:41 pm, ScottChiefBaker scott.ba...@gmail.com wrote:
The following example works great in Firefox, and Chrome but fails
miserably in IE (6,7,8). I'm running JQuery 1.3.2 if it makes a
difference:
Yea, that should fix the problem, return is a reserved word in
javascript
On May 7, 4:22 pm, Matt Critchlow matt.critch...@gmail.com wrote:
try changing your parameter in the success method to something other
than return and see what happens..
On May 7, 10:40 am, Eli Perelman
Try using a try-catch block around the scriptaculous code?
There's really no other way that I'm aware of to capture a javascript
error and continue processing. Though, depending on how crucial the
module is, you may consider using something else. 3 frameworks, 2
major ones, on a site at the same
I completely agree with what you said about frameworks. I'd use a different
module, but nobody else makes one comparable to it. I reviewed about 6 or 8
modules before settling on this one. I completely understand the author's
viewpoint, though - he originally authored the module over a year ago
It's explained here:
http://groups.google.com/group/jquery-en/browse_frm/thread/95718c9aab2c7483/af37adcb54b816c3?lnk=gstq=parsexmlpli=1
On May 7, 10:24 pm, ScottChiefBaker scott.ba...@gmail.com wrote:
I created a simple test case:
http://www.perturb.org/tmp/jquery-test.html
On May 7, 12:41
I'm new to jQuery and what I am trying to do is take the XML response
below and obtain the src attribute from each image. I then want to
append that value to an array which can be used later. Now my issue is
when it gets to
Code:
$('response', returnedXMLResponse).each(function(){ ... }
it
Wow that's sure is a unique bug. I was able to fix my script on the
server side by make sure the XML content was served as text/xml, this
caused an XMLObject to be returned which IE was able to process just
fine. Thanks for the heads up!
On May 7, 1:52 pm, Balazs Endresz balazs.endr...@gmail.com
method: 'get'
should be:
type: 'get'
Try changing that to see if it works.
On May 7, 7:17 am, Arak Tai'Roth nielsen.dus...@gmail.com wrote:
Hi there, so I am trying out jQuery recently, moving from MooTools,
and needed to do some AJAX. Here is my code:
$(document).ready(function(){
I am moving all of my scripts from mootools/scriptlicious to jquery.
I was easly able to submit a form and update a div (based on the output of
the php file) as follows:
script type=text/javascript
function send(){
var params = Form.serialize($('commentsForm'));
new
-Mensagem Original-
De: Arak Tai'Roth nielsen.dus...@gmail.com
... Here is my code:
$(document).ready(function(){
$('#events_box a.ajax_replace').click(function(e){
e.preventDefault();
$('.news_border').slideUp('slow');
$.ajax({
method: 'get',
url: e.attr('href'),
data: { 'do' :
I'm using the Autocomplete plugin and chaining some actions to the
result. One of these actions is a popup, and the popup maintains focus
under FF, but under IE the parent window grabs focus back when the
form input is finally updated at the end of the chain by autocomplete.
Example code:
Thanks, I didn't realize I was using regular js here!
On May 7, 10:48 am, Leonardo K leo...@gmail.com wrote:
change: this.text //this code you are not using the power of the jquery
:D. Its just regular javascript.
to: $(this).text()
This should work crossbrowser. Ex:http://jsbin.com/usazu
i think what you want is $('image', responsexml).each()
otherwise you are asking for each response element of which there is only
one.
On Thu, May 7, 2009 at 4:47 PM, Alan at DSI aart...@speedscript.com wrote:
I'm new to jQuery and what I am trying to do is take the XML response
below and
Hi Dan
The first impression I got (viewing on FF3/linux) is that you have a
nice looking design. The second impression was that the random
scrolling was distracting and annoying. I think the randomness and
non-user directed action is the annoying part. There's something
about quick motion
QUESTION ONE: When is use of the jQuery prototype object appropriate,
and when is it not?
BACKGROUND: I am still trying very hard to identify the error that is
prohibiting me from incorporating a jQuery plug-in into my site in a
manner similar to the way that the author of the plug-in has
roddy, nice to meet you. reponse is inline
On Thu, May 7, 2009 at 7:31 PM, kiusau kiu...@mac.com wrote:
QUESTION ONE: When is use of the jQuery prototype object appropriate,
and when is it not?
i am not a jquery core or ui developer so this response must be taken with a
grain of salt.
it
So im using this framework called CodeIgniter anyways it allows query
strings but by default I have turned them off.
Instead a url would look like this:
www.your_site.com/controller/method/key/value/key/value...
However jQuery or the plugin datatables that I am using is generating
it like this:
is there any way to have the superfish menus not hide 3rd level items
ie
level one a | level one b | level one c
level 2 a
level 2 b
level 3a
level 3 b
level 2 c
level 2 d
etc...
blah my keyboard had is heavy and i hit send before i meant to. continuing
for roddy inline
On Thu, May 7, 2009 at 8:06 PM, chris thatcher
thatcher.christop...@gmail.com wrote:
roddy, nice to meet you. reponse is inline
On Thu, May 7, 2009 at 7:31 PM, kiusau kiu...@mac.com wrote:
All right found all the madness!
Here's where they are at and how to make it work for my needs... Would
be nice to change these but I doubt jquery will do that...
*with config values*
there are 3 lines in the jquery script (un minified version)
change: (in the file jquery.1.3.2.js)
line: 3458
Something like this:
function send(){
var params = $(#commentsForm).serialize();
$.post(subscribe.php, params, function(data){
$(#updateDiv).html(Data Loaded: + data);
});
}
On Thu, May 7, 2009 at 19:40, Brian Yanosik byano...@gmail.com wrote:
I am moving all of my scripts
You may be morally correct but the label attribute of the option tag
is not widely supported:
http://www.w3schools.com/TAGS/att_option_label.asp
On May 7, 3:47 pm, Klaus Hartl klaus.ha...@googlemail.com wrote:
Don't speculate, look
up:http://www.w3.org/TR/html401/interact/forms.html#h-17.6
Ha thanks a lot Matt
This is useful. And reminded me back in the days of taking Computer Science
classes when you can take cheat sheet into the exam.
By the way just that your Excel sheet name is still 1.1.3
On May 8, 10:52 am, Marv mcslay...@gmail.com wrote:
You may be morally correct
And technically correct.
but the label attribute of the option tag
is not widely supported:
Irrelevant.
--
Rob
On May 7, 9:42 am, Michael B. Williams mbw...@gmail.com wrote:
Consider the following select box:
select id=test
option value=/option
option label=XS value=1XS/option
option label=S value=2S/option
option label=M value=3M/option
option label=L value=4L/option
option label=XL
On May 8, 12:20 pm, RobG rg...@iinet.net.au wrote:
On May 7, 9:42 am, Michael B. Williams mbw...@gmail.com wrote:
Consider the following select box:
select id=test
option value=/option
option label=XS value=1XS/option
option label=S value=2S/option
option label=M
On Thu, May 7, 2009 at 8:08 PM, dduck1934 dduck1...@gmail.com wrote:
im trying to get the syntax down to find all img tags that are NOT
surrounded by p tags and wrap those img tags in p tags.
I can get the selector to get all img tags and wrap it in a p tag
but i need to further take it to
I think you could use this too.
$('img').filter(function(){return !$(this).parent('p').length ==
1}).wrap('p/p');
On Thu, May 7, 2009 at 9:51 PM, Charlie Griefer
charlie.grie...@gmail.com wrote:
On Thu, May 7, 2009 at 8:45 PM, Charlie Griefer
charlie.grie...@gmail.com wrote:
On Thu, May
Hil all ,i tried something like ,
When i select the drop down value , that value related content will display
into listbox,
But when i select another value , old one will not disabled , how to disable
the old one ,
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
90 matches
Mail list logo