There isn't any example integration code, by the datejs.com library
provides very good date parsing.
Writing a custom method
(http://docs.jquery.com/Plugins/Validation/Validator/addMethod) using
datejs should be easy enough!
Jörn
On Tue, Jul 14, 2009 at 3:27 AM, Mr Fettbob.mc...@freshmango.com
So let's change the question a bit.
I have a dom element like a table with many input boxes and selects
insides. When filling the input values and selecting elements in the
select box the dom object is with
the updated values , but the innerhtml is like it was loaded. i want a
function which
I've successfully implemented jEditable in table based pseudo
spreadsheet. Now I need to add Excel like Cursor and Tab navigation
between editable elements. I'm initializing jEditable with a function
argument in order to carry out the ajax request on my own. In Order to
successfully implement the
No prizes for guessing it's an IE7/6 issue
I'm trying to detect IE6, with:
if (($.browser.msie == true) ($.browser.version 7)){
// fail
}
but the client has got a version of IE7 that's returning the following
UA string:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; Mozilla/4.0
hi,
at the moment i'm trying to get the height width of the background
image.
but i always get the width/height of the full size of the div or the
window size.
for example if the image is not big enough for the browser window the
image is more than one time in the screen and i need the
i have an issue with the autocomplete focus...
i am unable to focus on the selected value..the value is when i
selected one value it is displaying the previous one..i tried somany
ways but found no luck..
Please refer my code once:
On Tue, Jul 14, 2009 at 10:41 AM, jazz
Hello.
I am trying to do
$(tbody tr).each(function(){
$(this).children(td:first).css({
'border-left': '3px solid #EE',
});
$(this).children(td:last).css({
'border-right': '3px solid #ee',
});
Hy
I am looking for a javascript - jQuery - plugin developper.
Somebody who likes to develop clean and fast code.
It is a project, where I need some editable, contextmenue and
editor code.
If you are intrested, contact me.
info aet ignaz doet ch
Hi Everyone,
Many time i am getting one problem with Jquery when i am using more
then one jquery plugin on same page then only one plugin works which
will be on top.
I guess few variables mixing and disturbing to each other. I just want
to know is there any way to control it?
Advance thanks
Hey I am trying to get my form data when submitted and add it to a
table below the form (I am already submitting the form with the jquery
forms plugin).
Any help would be appreciative.
Hi all,
I've got a Superfish with Supersubs horizontal menu that is having an
issue I haven't been able to solve in IE7. The list items at the top
level of my navigation have fixed widths to align with the background
graphic, so they need to stay the same width all the time. However,
when you
I'm new to jquery so I hope you'll forgive my ignorance...
I have a div on a page that I'm hoping can contain multiple images
that would fade in and replace an out-going image based on an onClick
event.
Each image is dedicated to it's a href (there are about 30) and they
would all be
When I $.post() the values of a form, if one of the values start with
any of ()[]{}, then the associated form element name has a semi-
colon appended to it when I finally extract the POST data in my PHP
script.
The Javascript:
var formValues = $(#formName).serialize();
alert(
If you do something like
$(script src='http://api.com/json/callback' + /script).appendTo
(body);
jQuery will tack a timestamp to the URL, in an attempt to prevent
caching:
http://api.com/json/callback?_=1247543709724
However, this can break APIs. Is there a way to disable this automatic
URL
Hello,
Here is my prototype : http://rejome.homeip.net:8080/prototype.html
I don't understand how I can get the radiobutton value in the
function...
Please help me :-)
I'm wondering if anyone knows a method for 'converting' a single click
to (effectively) a double click with a timeout?
I have an onclick handler issue that requires a double click for an
event that the user will expect to need only a single click for.
Thanks!
colgroup is useful in html table make-up, but firefox/opera/safari
doesn't support it well, only IE follows the standard almostly.
Since $.browser is deprecated in 1.3, maybe jquery should provide a
colgoup support-testing function,
including border, background, visibility, display css style
what plugs are you referring to ? could you show us how your importing
jquery and plugins
Mean Mike
On Jul 14, 7:46 am, Sarm sarm.desig...@gmail.com wrote:
Hi Everyone,
Many time i am getting one problem with Jquery when i am using more
then one jquery plugin on same page then only one
function fonctionRadioBoutons() {
alert("Dans la fonction : " +
$("input:radio[name=radioBoutons]:checked").val());
}
rejome wrote:
Hello,
Here is my prototype : http://rejome.homeip.net:8080/prototype.html
I don't understand how I can get the radiobutton value in the
Thanks for reply me,
I am placing following code on page HEAD.
script language=javascript src=Jquery.js/script
script language=javascript
function makeSublist(parent,child,isSubselectOptional,childVal)
{
$(body).append(select style='display:none'
id='+parent+child+'/select);
Great ! That works perfectly.
One last question :
How can I use the variable declared before ($radioBoutons) ?
Thanks a lot.
On 14 juil, 14:35, Charlie charlie...@gmail.com wrote:
function fonctionRadioBoutons() {
alert(Dans la fonction : +
No, as far I as can see.
I wrap some lists of words with strong using a little fn:
function setBold(text) {
var occur = text.split(,);
for( i=0; ioccur.length; i++ ){
var TEXT = occur[i].toUpperCase();
On Jul 13, 3:54 pm, Jeff Nouwen jnou...@gmail.com wrote:
My PHP script is being called through CodeIgniter, but I don't
immediately see anything in its code that would cause the addition of
the semi-colon.
And upon closer inspection of CodeIgniter's source, it is indeed the
cause of my
I'm confused are you saying this doesn't work ?
script language=javascript src=Jquery.js/script
script language=javascript
function makeSublist(parent,child,isSubselectOptional,childVal)
{
$(body).append(select style='display:none'
id='+parent+child+'/select);
I also found that validate requires the names of the fields to be
unique
On Jul 12, 7:23 pm, Mean Mike mcgra...@gmail.com wrote:
you might be running into problems because you have spans with the
class required which is one used by jquery.validate
try giving those spans a slightly different
Hello List,
I hope this is the right place for my question.
I have a working form and all iss great using this jQuery Form
Validation PlugIn from brassistance.
Now I got in trouble by having a Form which will get extended by user
inputs. To explan in detail:
I have a Form with static fields
You are including the jquery library multiple times, you only need to
call jquery once. eg
script type=text/javascript src=jquery.js/script
script type=text/javascript src=jquery.plugin.js/script
script type=text/javascript src=jquery.plugin.js/script
script type=text/javascript
If i will remove this following
link type=text/css href=js/ui.all.css rel=stylesheet /
script type=text/javascript src=js/jquery-1.3.2.js/script
script type=text/javascript src=js/ui.datepicker.js/script
link type=text/css href=js/demos.css rel=stylesheet /
script
Thanks for reply but both jquery files are related plugin. If i will delete
one jquery file then related will stop work.
I know one jquery file is enough so if i will remove this one
script language=javascript src=Jquery.js/script
then Sublist part will be stop work and if i will remove this
ok so show me how you would put them together then, also are you
getting any errors ?
On Jul 14, 11:04 am, Sarm sarm.desig...@gmail.com wrote:
If i will remove this following
link type=text/css href=js/ui.all.css rel=stylesheet /
script type=text/javascript src=js/jquery-1.3.2.js/script
Hello Experts!
I have been trying to comprehend the JQuery ui slider for a solid day,
and I believe that every tutorial out there skips a giant step for
beginners.
Forget styling and options...how do you implement this Slider to begin
with? I'm trying to turn each div class=slider in the code
Hi
Check out the slick card game I just made - at http://www.lovesolitaire.com
It entirely made in jQuery (1.3.3pre).
It's also strangely addictive - so be careful! Love to hear any
feedback any of you have!
weepy
wow you're right, i just couldn't stop :)
Looks great!
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
E-mail: mjlaw...@us.ibm.com
'Whether one believes in a religion or not,
and whether one believes in rebirth or not,
there isn't anyone who doesn't
It would be best if:
- You explain what you are confused about
- You provide some working HTML using a site like LodgeIt
http://paste.pocoo.org/
- Perhaps use the dedicated jQuery UI mailing list instead:
http://groups.google.com/group/jquery-ui?hl=en
Basic things to watch for/do:
- Use FireBug
Hi,
I wanted a dropdown as soon as I place my cursor in the input box
(local values). I tried putting minChars as 0. It didn't seem to have
much effect. I made the following change in the autocomplete code
.click(function() {
// show select when clicking in a focused field
remove the Jquery.js, as that is an old version. In the sublist script
find this line
$(#+child+' opti...@value='+ childVal +']').attr('selected','selected');
remove the @ symbol, so you have
$(#+child+' option[value='+ childVal +']').attr('selected','selected');
You shouldn't just be
very good, weepy!
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Michael Lawson
Sent: Tuesday, July 14, 2009 11:38 AM
To: jquery-en@googlegroups.com
Cc: jQuery (English)
Subject: [jQuery] Re: 3 Solitaire
wow you're right, i just couldn't stop :)
Looks
I have a php order form that uses Ajax that inserts some hidden form
elements into the current page.
I can see the hidden form elements when I look using Firebug but
cannot access the new elements within jQuery functions. I know if it
was an event I wanted to attach to on any new elements I
Hi All,
Is there a way to post from a .net page with server form controls
using the jQuery .ajax method? The .net page is expecting the server
contols so I'm not sure how to handle it so when I serialize() the
form it doesn't know what to do with it.
Any help would be appreciated.
Thank you.
Hi, am very new to jquery and I want to do something that I suppose is
very easy but I can't figure out how to do it
If I have something like this:
var d = {one:1, two:2, three:3};
and I want to add a new item to d, how can I do it?
I have looked up the documentation and found the function
Hi,
I am really new to jquery and have been using it for the past few
weeks. I have an issue that I am stuck in, would be grateful if
someone could assist a little.
I use java / jsp for a small application of mine. The application
displays all regions as links on a page and for each region, I
Am using Cycle (fade) for image slideshow very happily, except for the
big visual flap when all the photos (12 or so, but large-ish) load
prior to cycling.
I've looked for a preload solution but haven't immediately found any.
Is this best? Is there another solution?
Would be grateful for any
With the way .NET works out of the box (http://www.google.com/search?
q=ASP.NET+postback+model), no
I'd suggest using a generic handler (ashx file) or some other non-
postback way to pass and retrieve data from your jQuery
On Jul 14, 11:40 am, ricka rpd...@gmail.com wrote:
Hi All,
Is
The code for the code split is
if (words.length 1) {
if (options.minChars == 0 $input.val().indexOf
(,) = 0) {
v = words.slice(0,
words.length).join
(options.multipleSeparator) + options.multipleSeparator + v;
Your code and what you are trying to do has nothing to do with jQuery
really.. it's all simple JS object stuff (http://www.google.com/search?
q=javascript+associative+array), with that pointed out
var d = {one: 1, two: 2, three: 3};
d[four] = 4;
would result in d being:
{ one: 1, two: 2, three:
I Don't Mean Flash based...
I Mean JQuery based editor for web..
I Only compared it.. Sorry for my english if I said anything
ununderstingable :)
On Jul 12, 5:20 am, donb falconwatc...@comcast.net wrote:
Since jQuery is simply another layer of code on top of javascript, and
the highly-capable
Cycle supports loading images via ajax, which I think could smooth out
the long load issues.
A very basic impementation would be
$(#cycleDiv).load(slides.html, function(){
$(this).cycle({
timeout: 5000
});
});
where slides.html is the
Thanks, I didn't know about the javascript associative arrays.
I am trying to figure out how to submit the form using the $.ajax
call.
How do I make sure my form is valid when submitting via a click event
on a button?
do i put it in the submitHandler of the validation plugin?
submitHandler: function(form) {
$('mybutton').click(function () {
can you provide a link to a test case? It would be very helpful to see
where the difference is and what the cause might be.
thanks,
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jul 13, 2009, at 12:21 PM, Ranadave wrote:
I have a problem whereby on
Liam, You are the Man, thankyou so much., It's working now.
ThankYou for your time.
On Tue, Jul 14, 2009 at 9:21 PM, Liam Potter radioactiv...@gmail.comwrote:
remove the Jquery.js, as that is an old version. In the sublist script find
this line
$(#+child+' opti...@value='+ childVal
Hi Ricardo, thanks for the clarification, i thought I rememberd seeing
the $( $(x)[2] ) syntax somewhere. I like that better than the eq().
My ID's are all good, I just needed the 'body#seniors #text' so only
pages in my senior section would be altered, but I guess doing a php
if/else would have
What you need is access to the XMLHttpRequest object used in the request so I
suggest you use $.ajax instead of $.post. The complete callback for $.ajax
receives the XHR and textstatus as parameters, so this should get you the
headers:
Following getJSON works fine but I need to replace "presentations with
a variable "getSlides" tried a lot of different ways with a variety of
errors no matter what I've treid
var getSlides = $(this).attr("href");
$.getJSON("photoList.js", function(slides){
$.each(slides.presentations,
Here's one way to do it:
input type=button id=submit_btn value=Submit/
$(#ajax_form).validate( [set validation options] );
$(#submit_btn).click(function() {
var valid = $(#ajax_form).valid(); // returns true or false
if (valid) {
// do ajax submission
}
});
On Jul
I am using the tokenizing autocomplete text entry which expects the
search result in json format
I want to know if it's possible to add items to the json collection
using jquery, if I have for example
var results = [{id:1,name:Abb}, {id:2,name:Abbas},
{id:3,name:Abd}, {id:4,name:Abdel}]
and
var $selected = $radioBoutons.filter(':checked');
This removes from the $radioBoutons set of all elements that are not
checked (which should end up with 0 or 1 item).
On Jul 14, 2:45 am, rejome jeromeg...@gmail.com wrote:
Great ! That works perfectly.
One last question :
How can I use the
Is the callback function of the double-click handler separate (has a
variable name to reference)?
If so, just use that function as the callback to the single-click
handler.
Otherwise, maybe you can just have the single-click trigger a double-
click event. I haven't tried this.
When you say bogs down does that mean it works, but very slow? Or
does it mean it doesn't work at all?
How many rows are you working with?
On Jul 14, 1:31 am, Alexandru Adrian Dinulescu alex.d.a...@gmail.com
wrote:
Hello.
I am trying to do
$(tbody tr).each(function(){
I figured out how to do it.
Wasn't too hard. However, your solution is quite clean as well. Not
sure which is better or what pitfalls there are to doing it my way vs.
yours.
submitHandler: function(form){
excellent, very nice. I am not a fan of flash, this is refreshing.
I guess none of this is open source?
On Jul 14, 12:30 pm, Rick Faircloth r...@whitestonemedia.com
wrote:
very good, weepy!
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Michael Lawson
I did just notice though
script
var PORTAL_URI='yumoov.com';
var AUTH_TOKEN = vLVJRvNMHbLBpOsxgyWfu1LfINHkHUVwwPKFX7mB89E=;
$().ready(function() {
})
/script
you don't define a type here making your page invalid
cheers
Michael Lawson
Development Lead,
Hi All,
I think I have been able to solve the issue of the validation error messages
not appearing on the correct form. If anyone else encounters the same
problem, below is the fix / solution for it. (I had to use the event and
firebug console). Changed lines are marked with a trailing //.
I'm using this validation plugin
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
and it is great.
However, it rejects dates like 07-14-2009 as invalid. Is there some
way to add a list of valid formats?
If not, should I write my own method to match that particlar format?
You shouldn't initialize the validation inside a click-event handler -
that way it tries to init it on every click.
Why not just select the form and call validate, eg.
$(.main-title form).validate({ ... });
Jörn
On Tue, Jul 14, 2009 at 10:42 PM, Anoop kumar Vanoopkum...@gmail.com wrote:
Hi
The default date validation is quite weak, indeed. You can add your
own method, maybe using datejs.com, easily:
http://docs.jquery.com/Plugins/Validation/Validator/addMethod
Jörn
On Tue, Jul 14, 2009 at 10:47 PM, Matt Wilsonm...@tplus1.com wrote:
I'm using this validation plugin
Hi,
I'm using getScript to load a script which basically contains a
variable, and then i'm using this variable in the callback function.
It looks like that :
$.getScript( myScriptURL, function() {
// execute this code on success
$(div#result).html(myVar.content);
});
and, the
you don't define a type here making your page invalid
Are you referring to $().ready(function() { }) ? You mean you'd
rather see $(document).ready ? - I thought they were equivalent.
I guess none of this is open source?
not currently, though I'm slowly persuading my employer to get with
OS !
On Tue, Jul 14, 2009 at 6:37 PM, weepyjonah...@gmail.com wrote:
you don't define a type here making your page invalid
Are you referring to $().ready(function() { }) ? You mean you'd
I believe he's referring to the script tag itself. It should given a
type (e.g. text/javascript)
--
Brett
Hello,
I have the following selectbox xhtml structure:
select id=price_item_1
option value=50 data:interval=1Volvo/option
option value=100 data:interval=0Saab/option
option value=49.99 data:interval=0Mercedes/option
option value=19.99
Hi,
So the XHR is ONLY available from $.ajax and there's really no way to
get it from methods ($.post)?
I actually need this data in the ajaxSubmit callback of AjaxForm plug-
in.
This sounds like I have no option except to abandon the plug-in and do
the work manually (or modify it)?
Cheers.
Try:
$(select[id^=price_item_]).attr(data\\:interval);
On Jul 14, 1:22 pm, introvert aljaz.faj...@gmail.com wrote:
Hello,
I have the following selectbox xhtml structure:
select id=price_item_1
option value=50 data:interval=1Volvo/option
option value=100
HI I am able to sort the Grid using JQuery Using AjaxOptions and
Sortable action items.
Can i have some plugin which helps to make the Grid Scrollable ?
Thanks in advance.
Aditya Marla
Anyone: I cant seem to get this to work. If I pass modal:true in
as a variable it doesn't work. Anyone have any idea what is causing
it to break?
=== Stark Working Code ==
var modal = modal;
var content = true;
var $dialog = $(iframe frameborder='0' scrolling='no'
hi
iam trying to validate the recaptcha over the remote function of the
validate plugin and the basic function works so far. now i want to
call the reload function of the recaptcha object if the captcha is not
correct. i am new to js and jquery maybe someone could help me how to
call the
Anyone: I cant seem to get this to work. If I pass modal:true in
as a variable it doesn't work. Anyone have any idea what is causing
it to break?
=== Stark Working Code ==
var modal = modal;
var content = true;
var $dialog = $(iframe frameborder='0' scrolling='no'
hi
iam trying to validate the recaptcha over the remote function of the
validate plugin and the basic function works so far. now i want to
call the reload function of the recaptcha object if the captcha is not
correct. i am new to js and jquery maybe someone could help me how to
call the
Hello,
I am having a problem with a pop-out menu I scripted. It is very
easy, with a combination of mousing off and back over the menu, to get
the menu to cycle endlessly from hidden to visible. If you move the
mouse this behavior will stop, but I'd rather it didn't happen at all.
Part of it
Hi there,
Let me begin by saying I know very little about jQuery and would love
to learn a lot more about it (so i don't have to waste people's time
on questions like the one I'm about to ask)
I am trying to design a graphic menu bar that is capable of displaying
each button in 4 modes: up
This example is not clear enough (at least for me..)
http://docs.jquery.com/Ajax/ajaxSend
I want something simple such as the user clicking and a waiting.gif
image is presented in order to let the user know that the server is
working on it.
$.get(file.html,
function(data){
test
On Tue, Jul 14, 2009 at 1:12 PM, Nick mrnickst...@gmail.com wrote:
Anyone: I cant seem to get this to work. If I pass modal:true in
as a variable it doesn't work. Anyone have any idea what is causing
it to break?
=== Stark Working Code ==
var modal = modal;
var
Given this HTML:
ul class=listliitem 1/li/ul
How would I insert lI elements inside the ul element after the
existing li? I tried using append() but that created a second ul
element with the new elements inside it after the existing ul block.
--
Anyone: I cant seem to get this to work. If I pass modal:true in
as a variable it doesn't work. Anyone have any idea what is causing
it to break?
=== Stark Working Code ==
var modal = modal;
var content = true;
var $dialog = $(iframe frameborder='0' scrolling='no'
I may be missing something here, but I added the Superfish Dropdown
Menu module to my Joomla installation for use with my Virtuemart
Shopping Cart and for some reason it looks very messed up. If some of
you would like to view it and tell me what you think is wrong please
feel free to go to the
Anyone: I cant seem to get this to work. If I pass modal:true in
as a variable it doesn't work. Anyone have any idea what is causing
it to break?
=== Stark Working Code ==
var modal = modal;
var content = true;
var $dialog = $(iframe frameborder='0' scrolling='no'
I have 2 lists on a page and I have a link set up to remove an li item
from the one list. I need to check to see if there is a copy of that
item in the other list based off an attribute in my li item called
qid. How would I look for a child list item based off this custom
attribute? Assuming I
Hi,
I have two layers. One of them changes the size if the inner elements
raising its height. Now I want to mirror the size of that container
and tell the other layer to have the same size. I know, I can add a
function which should be called, after an effect takes place, but I
also want to have
See Attribute Filters
http://docs.jquery.com/Selectors
On Jul 14, 4:32 pm, gswa...@synergydatasystems.com
gswa...@synergydatasystems.com wrote:
I have 2 lists on a page and I have a link set up to remove an li item
from the one list. I need to check to see if there is a copy of that
item
What is the code you're using?
$(ul.list).append('liitem 2/li');
should work from your html.
On Jul 14, 2:24 pm, Eno symb...@gmail.com wrote:
Given this HTML:
ul class=listliitem 1/li/ul
How would I insert lI elements inside the ul element after the
existing li? I tried using append()
Why on earth do you have:
var modal = modal;
??? It doesn't make sense...
Aside from that weirdness, you should set your code like:
var content = { modal:true };
var $dialog = $(iframe frameborder='0' scrolling='no'
allowtransparency='true' src='modals/ + modalID + .html'/iframe)
$.ajax({
url: 'file.html',
type: 'get',
beforeSend: function() {
// add loading image
},
success: function(data) {
(#msg).html(data);
},
error: function() {
alert('something bad happened...');
}
});
On Jul 14, 11:05 am, Fabio Milheiro
anyone have any experience using After functions with Cycle?
I'm trying to use it to display alternate texts for images by showing
text on before and remove it with after. Trigger times are messing
it up
On Jul 11, 10:22 pm, Charlie charlie...@gmail.com wrote:
Having problem with after option
On Jul 15, 3:25 am, yasmine yasmina.ez...@gmail.com wrote:
Thanks, I didn't know about the javascript associative arrays.
Because javascript doesn't have them, it has objects that are simple
name/value pairs.
--
Rob
this happens all the time with Joomla menu extensions. Original menu
CSS doesn't get removed, so now there are 2 sets of menu CSS rules
operating on same menu. Since they are scoped differently in design,
different elements may take have the original template rule take
prescedence, while
Hi,
How can I do validation on a group of input fields, as long as one of
the 3 fields have a value then it's valid,
I've managed to group them, but it's showing up with 3 error messages
instead of one. How can I get it to display just the one error msg for
all 3 input fields?
Here's my
Just before the form, theres the DIV that contains the error
messages.
div id=errorContainer
h4There are errors in your enquiry submission, please see below
for details./h4
ol
lilabel for=firstname class=errorPlease enter your first
name/label/li
lilabel for=lastname
If you want to be sure the is appended after the last li use this
$(.list li:last).after(liitem + (parseInt($(.list
li).length,10) + 1) + /li);
On Jul 15, 10:24 am, Eno symb...@gmail.com wrote:
Given this HTML:
ul class=listliitem 1/li/ul
How would I insert lI elements inside the ul
The reason I think $(.main-title form) will not work for my case is
because my form is structured like the following:
form class=cbnav method=post action=user/region.jsp div class
=main-titleKansas City (KC)/div
div class=details
/div
/form
So the form is actually a parent of the
Interesting view about this from Douglas Crockford:
type=text/javascript
This attribute is optional. Since Netscape 2, the default programming
language in all browsers has been JavaScript. In XHTML, this attribute
is required and unnecessary. In HTML, it is better to leave it out.
The
1 - 100 of 102 matches
Mail list logo