Well, to look at the actual AJAX response, you can use Firebug for
Firefox to see it.
You're suppose to have your remote page return "true" if it's good and
"false" if it's not okay.
Looking at your code, both username and email validation checks have
the same url and data. Ideally, you're suppos
worked fine for me in IE7 and FF3
Xenongasman wrote:
So I got a bit of a issue. I have a working dropdown menu animated on
hover with slideDown and slideUp. But the problem is if I move off and
on the menu quickly it will repeat the slideDown/Up effect. So I
thought I would add stop() righ
yes, with a disclaimer as to what you mean by "libraries". jQuery
itself is often referred to as a library. You won't need to change
anything inside jQuery.js or plugins, only functions that you generate
in script tags
"$" is an alias for "jQuery" but is also used by other "libraries" such
a
I need a way to debug what is being returned when I use the REMOTE
option. I cant get the validation to give me an error class when a
duplicate is found. here is my lookup.php which works perfectly fine
when I use jquery $get to call it.
Lookup.php
0) {
echo $foundmsg;
} else {echo $failmsg;
Does anyone know how I can make the draggable helper the last
container in my sortables?
I've been messing with the appendTo option, but I haven't a clue how
to get it to work.
thx
the problem with your setup is you keep adding click handlers on top of
click handlers every time a click is made
10 round trips in and out and you add 20 new click handlers to the same
elements
Mr Withers wrote:
Hi Guys
Iam having an issue with the JQuery animate function. Iam not sure
You can have as many document ready checks as you want. I'd like to
keep things organized by only having one though.
As for the checkbox being selected by default when the page loads, you
can do either of two things:
1) run the function on page load that checks for the checkbox and do
any changes
not sure what this part of your code is but IE 6 throwing errors on it.
Try removing it temporarily and see what happens
window.addEvent((window.webkit) ? 'load' : 'domready', function() {
window.rokajaxsearch = new RokAjaxSearch({
j_samm...@comcast.net wrote:
Hi! Oddly enough, I h
apologies, I see now that it isn't exactly what you're looking for
On Aug 7, 7:18 pm, amuhlou wrote:
> I'm not sure if this helps, but you can configure tablesorter on a per
> column basis
>
> http://tablesorter.com/docs/example-options-headers.html
>
> On Aug 7, 12:38 pm, gord007 wrote:
>
> >
I'm not sure if this helps, but you can configure tablesorter on a per
column basis
http://tablesorter.com/docs/example-options-headers.html
On Aug 7, 12:38 pm, gord007 wrote:
> great answer :D
> advise someone better?
>
> thx
>
>
>
> jQuery Lover-2 wrote:
>
> > You can write a javascript funct
Usually checkboxes should have different names for its attributes, and
add class="chkLimit".
"input.chkLimit" means an input element with class "chkLimit"
Otherwise, for your code, you can try to use:
"input[id^=chkLimit_]"
if you want. This means all inputs with id that begins with
"chkLimit_".
Thanks James, that was really helpful -- I've placed the code, but I can not
get it to populate the . Did I place it in the correct area?
http://psylicyde.com/misc/checkbox
--
View this message in context:
http://www.nabble.com/count-checkboxes-selected-tp24871849s27240p24872962.html
Sent fro
It was an example to show you how to get the number of selected
checkbox...
If you want to integrate it with events, then you might want to do
something like:
$("input.myCheckbox").click(function() {
var numSelected = $("input.myCheckbox:checked").length;
var numLeft = 10 - parseInt(numS
I dont want to use an alert, I want to use ajax or some method to show how
many checkboxes are selected in REAL TIME.
So when you select one checkbox it says on the page:
You have 1 CD's selected.
You have 9 selections left.
When you select a second checkbox it says on the page:
You have 2
Nice workaround, for some reason I thought you didn't have control over
the js side or something weird. Cool.
Sure would be nice to know that CF isn't altering data, eh? FWIW, I've
been using the ajaxCFC module for a long time (to serialize CF objects
into JSON) and haven't run up against the
These are a duplicate of http://dev.jquery.com/ticket/4512 which has been
fixed.
--John
On Fri, Aug 7, 2009 at 4:53 PM, Mondo Libero wrote:
>
> Here: http://dev.jquery.com/ticket/4753, and Here:
> http://dev.jquery.com/ticket/4960
> some users send this bug on bug tracker. The example are almo
Suppose all your checkbox has the class "myCheckbox":
var numSelected = $("input.myCheckbox:checked").length;
alert(numSelected);
You can use simple math to get how many are remaining.
On Aug 7, 10:53 am, ripcurlksm wrote:
> I have a script where a user can select any 10 out of 20 CD's. I am u
I have a script where a user can select any 10 out of 20 CD's. I am using the
jQuery Field Plug-in to limit the users selections to 10.
My question is, how can I display the number of checkboxes selected, and
remaining? I want to say:
You have 3 CD's selected.
You have 7 selections left.
Here
Here: http://dev.jquery.com/ticket/4753, and Here:
http://dev.jquery.com/ticket/4960
some users send this bug on bug tracker. The example are almost the
same of this situation.
On 5 Ago, 17:02, Liam Potter wrote:
> Sorry about the hostility, was having a pretty stressful day and I
> didn't real
Just, fyi, Jack and anyone else.
The solution was to put an inline condition into the code:
.spanRight">' + (row[18] ? 'Yes' : 'No') + '.
Works great!
Rick
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Jack Killpatrick
Sent: Friday, August 07,
That's a pretty neat plugin. Thanks Cesar.
On Fri, Aug 7, 2009 at 10:48 AM, Cesar Sanz wrote:
>
> check this out http://plugins.jquery.com/project/timers
>
> - Original Message -
> From: "James"
> To: "jQuery (English)"
> Sent: Thursday, August 06, 2009 4:19 PM
> Subject: [jQuery] Re: M
Ug.hate having to manipulate data like that. This sounds like the solution
I may
have to use for another problem, which is that javascript strips off any
leading zeros
from data. I have passwords that lead with a "0", so I've got to do
something about that.
Over on the cf-talk list, it was
I do CF dev work, too, but haven't come across this yet, but it made me
curious. I googled "coldfusion yes no serialize json" and it brought up
a few articles about this. Sounds like adding a space after "yes " and
"no " is the workaround some other people used. Ooof.
- Jack
Rick Faircloth wr
yes, you can grab the value of the textbox and match it against a regular
expression
var reg = new RegExp("/[a-zA-Z]/");
if(reg.test("string"))
{
return "valid";
}
else
{
return "not valid";
}
like that
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
E-
I am trying to use treeview and have a tester page
http://sitemaster-internet.co.uk/treeview/tester2.php
the html for the directory view is generated dynamically with php
building the unordered list from directories on the server, the html
passes validation and 'looks' ok, but when the page rend
Hi All
I am hoping somebody can help me with this. I have two drop down
select boxes (Month, Year) which I use to select a credit card expiry
date. I want to check if the month and year they select is before the
current month and year (to check if credit card has expired). I have
created a custom
I have a client that needs a web tool that will allow users to upload
an image and preview that exact image on a sign template. Also, to be
able to type text into a field and preview how that text will display
on a sign.
Similar to zazzle's custom product creation and buildasign.
http://www.buil
I would like to validate a textbox that numbers cannot be entered into
the text input, how do i do this??? With regular expression??
nouky
great answer: D
advise someone better?
thx
jQuery Lover-2 wrote:
>
>
> You can write a javascript function that will add a row count column
> and after every table sort action will fire to clean the content of
> the column and repopulate it with numbers from 1 to 100. You can use
> tablesor
So I got a bit of a issue. I have a working dropdown menu animated on
hover with slideDown and slideUp. But the problem is if I move off and
on the menu quickly it will repeat the slideDown/Up effect. So I
thought I would add stop() right before slideDown/Up and that breaks
it. It'll work for the
Hi There
Try this
[code]
$(document).ready(function(){
if ($("#show_resolve").is
(":checked"))
{
$
(".submit_problem_form_right").css("visibilit
Try it here if it works or not:
http://jsbin.com/imadi
On Aug 7, 4:57 am, "Cesar Sanz" wrote:
> mmm..
>
> $(document).ready(function(){ var x = $("input[name=name]").val();
> window.alert(x); });
>
> Works for me in IE 7
>
> When you say "no results", do you mean, an error?? or just that
> $("i
Thanks for the perspective, Jack.
I just used firebug to check the json values being returned in the query
(ColdFusion)
and, indeed, the data is "true" and "false" instead of "yes" and "no".
I'll have to work something up server-side. Maybe it's the json formatting
that's
doing it. I ha
Don't be so sure now... I'm still a rookie when it comes to jQuery.
After playing with the code a bit, I realized I can't even logically
fathom how to go about making this work for multiple tables/classes,
thus I've got what you can call a writer's block when it comes to
putting it into code - I
If the values are truly the words Yes and No in the db, then it's
probably the library you're using on the server side to prepare the data
for returning for the ajax call. Check the output of that. If that's
still showing the words, it seems odd that they would transform again on
their way to t
That did not fix.
On Aug 7, 12:44 pm, Dhruva Sagar wrote:
> It should be json[i].title as per your json.
>
>
> Thanks & Regards,
> Dhruva Sagar.
>
> On Fri, 2009-08-07 at 09:38 -0700, efet wrote:
> > There is not a single c
That did not fix.
On Aug 7, 12:44 pm, Dhruva Sagar wrote:
> It should be json[i].title as per your json.
>
>
> Thanks & Regards,
> Dhruva Sagar.
>
> On Fri, 2009-08-07 at 09:38 -0700, efet wrote:
> > There is not a single c
It should be json[i].title as per your json.
Thanks & Regards,
Dhruva Sagar.
On Fri, 2009-08-07 at 09:38 -0700, efet wrote:
> There is not a single clear example that explains how to pull json
> data as simple as possible.
bump!;)
--
View this message in context:
http://www.nabble.com/jQuery-animate-marginTop-jerky-in-IE-tp24863683s27240p24868155.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
There is not a single clear example that explains how to pull json
data as simple as possible. I have a valid json and I need to retrieve
it with jquery
my json output is as:
{
"title": "blog entries",
"items" : [
{
"title": "Can Members of the Diaspora Work Effective
I've got a MySQL db that contains "Yes" or "No" in char datafields.
When I use $.ajax to bring that into the DOM and output the data via ' +
row[12] + ', for example,
the values are converted to "true" or "false" when output on the screen.
What's the best method of getting "Yes" or "No" as
so is this not possible?
On Aug 5, 4:21 pm, bwdev wrote:
> I'm trying to retro-fit google ad-manager to an existing site.
> Currently, we have a div on every page and then have a header file
> which randomly selects an add and uses jquery.prepend to put the ad in
> that div. With google, we now
Sorry Johnathan, I sent a seperate reply, but it never came through.
Thanks for your input.. My question about it was... is it bad practice
to have more than one $(document.ready(function(){}) scripts, or can I
have multiple?
Cheers,
Beren
On Aug 7, 1:43 pm, "Jonathan Vanherpe (T & T NV)"
wro
I've changed it a little bit, so it doesn't show/hide the div, it's
meant to disable the input elements:
Can anyone see why ticking it works, but unticking it leaves the input
tags disabled still?
$(document).ready(function(){
mmm..
$(document).ready(function(){ var x = $("input[name=name]").val();
window.alert(x); });
Works for me in IE 7
When you say "no results", do you mean, an error?? or just that
$("input[name=name]").val() is returning an empty string??
- Original Message -
From: "V"
To: "j
I figured that I could bind a DIV tag to the tool tip but with it
calling another page to fetch the contents. I think I can live with
that.
I figures I can set the closeWait to a reasonable higher number of
seconds (say 20 seconds) and that should be fine with user but ideally
would love to have
check this out http://plugins.jquery.com/project/timers
- Original Message -
From: "James"
To: "jQuery (English)"
Sent: Thursday, August 06, 2009 4:19 PM
Subject: [jQuery] Re: Make event happen after a certain amount of time has
passed.
Then you can do something like this:
Have
2009/8/7 Decebal :
> I process it with the folowing code:
> $.post(cgiURL,
> {command: "getForm", form: cgiForm},
> function(xml){
> $(xml).find('field').each(function() {
> if( $(this).attr('type') == 'input' ) {
>
> Is there a better way to do this?
> There a several
I've made a quick test right now. I set the position:absolute for the div &
specified the top and left in css.
What I've noticed, in this setup animating the actual top is quite bad,
however when I animate marginTop now, the animation is much smoother, still
far away from FF,Safari or Opera thou
try adding
document.createElement(video);
before your jquery script
quiKe wrote:
tried (doesn´t work) but i wanted to know if maybe i was on a mistake.
On Aug 7, 12:52 pm, Liam Potter wrote:
try it?
quiKe wrote:
Hi, do you know if it is possible to use selectors for a video tag
You'll have to run the whole function block within
$("#show_resolve").click() on load (ie. put it somewhere in
$(document).ready(function(){}).
Make it a seperate function so you can avoid copy/pasting the whole thing
Jonathan
Samuurai wrote:
Hi,
This is my first little foray into JQuery,
tried (doesn´t work) but i wanted to know if maybe i was on a mistake.
On Aug 7, 12:52 pm, Liam Potter wrote:
> try it?
>
> quiKe wrote:
> > Hi, do you know if it is possible to use selectors for a video tag?
> > For example:
> > $(this).find('div.misc').find('ul').addClass('thumb-fila').find
>
You've got the this.optional(element) stuff included, so that method
works just like the builtin methods, unless something else is broken.
Jörn
On Thu, Aug 6, 2009 at 10:37 PM, Jim Evans wrote:
>
> Hi,
>
> I'm using the validator plugin and it's great! I understand the
> following:
>
> "Before a
Have you tried animating just the top position instead?
touch_the_sky wrote:
Hi everyone!
I have an issue with IE which has been driving me absolutely mad for like
last 2 days. Basically all works awesome, crossbrowser, etc. apart from one
floated div, when I am trying to animate it's margin-t
Hi everyone!
I have an issue with IE which has been driving me absolutely mad for like
last 2 days. Basically all works awesome, crossbrowser, etc. apart from one
floated div, when I am trying to animate it's margin-top on hover (move it
down, when mouse go out - move it back up). All browsers p
Hi,
Change the sortList definition to
sortList: [[3,0]],
or
sortList: [[3,1]],
depending on what order you want the column sorted in.
You could also tidy up your HTML by adding tags and
elements are not valid inside
Paul
On Aug 7, 6:53 am, jsrobinson wrote:
> I have two custom parsers, one
hi ...
i use flexgrid with .net mvc to show records from my table... i use
jquery for this...
i use certain objects like
{display: 'ID', name: 'CustomerID', width: 40,
sortable: true, align: 'left'},
{display: 'Company', name: 'CompanyName', width: 100,
Hi,
Can anyone hellp me please.
I integrated phpexcel with codeigniter, Phpexcel generates a pdf file.
When the button "print to pdf" is press it will send an request to the
server using ajax. now the problem is i dont know how to make jquery
to make aprompt that the file is being downloaded. th
Hello everyone,
Using the simplemodal plugin I create a dialog dynamically from links
using
$(".dialog-link").live('click', function(e) {
e.preventDefault();
$.get($(this).attr('href'),function(data) {
$.modal(data,
Hi Guys
Iam having an issue with the JQuery animate function. Iam not sure if
its because iam potentially mis-using the animate function or if its a
genuine issue so I thought I would seek some adivce here before
looking into it any further :-).
I have posted up an example of the bug on Jsbin w
Hi! Oddly enough, I have no problems with my IE7 version of my
superfish menu is Joomla, but in IE6 it does not work properly. It
does work, thank God, but not like in the other browsers. Two things
occur.
1) The menu is not resized all the way over to the width of the
screen.
2) The buttons d
Hi everyone!
I have an issue with IE which has been driving me absolutely mad for
like last 2 days. Basically all works awesome, crossbrowser, etc.
apart from one floated div, when I am trying to animate it's margin-
top on hover (move it down, when mouse go out - move it back up). All
browsers p
Hi,
I'm trying to get Joerns awesome autocomplete-plugin to work with
UTF-8 but I've had no luck in making it work. Has anyone managed to
query the backend using UTF-8 encodend characters?
Right now I'm trying my best to decode the incoming string ie
"q=Östman" but nothing happens? Do I need to
Hi,
I'm using the validator plugin and it's great! I understand the
following:
"Before a field is marked as invalid, the validation is lazy: Before
submitting the form for the first time, the user can tab through
fields without getting annoying messages - he won't get bugged before
he had the ch
I have the following XML to be processed:
Uitvoeren van het script duurde 21.371 milisec
I process it with the folowing code:
$.post(cgiURL,
{command: "getForm", form: cgiForm},
function(xml){
$(xml).find('field').each(function() {
i
Hi everyone,
I have the validate plugin working for my form so that on submit the
errors are all displayed in a container div above my form. By default
the focus goes to the first input field that didn't pass validation,
but I'd like it to focus on the error container div. Has anybody done
this o
Hi,
This is my first little foray into JQuery, so far i'm impressed,
having had very little JS experience, I was able to create the result
I wanted very qucikly and easily!
However, I'm having one little niggle...
Here's my code:
[code]
$(document).ready(function(){
Here's how you do it with a jQuery UI Dialog:
http://jsbin.com/ujumi
- Richard
On Thu, Aug 6, 2009 at 9:37 PM, wrote:
>
> Hello,
>
> I've done a bit of googling and some experimentation but I'm a bit lost.
> I'm trying to dynamically resize a modal lightbox created with thickbox.
> So for insta
Hi,
Im using jNice (a jQuery plugin) in rails. I have the following jQuery
function on the head of my page.
jQuery.noConflict();
/* calling jNice on document ready */
jQuery(document).ready(function($)
{
$(
try it?
quiKe wrote:
Hi, do you know if it is possible to use selectors for a video tag?
For example:
$(this).find('div.misc').find('ul').addClass('thumb-fila').find
('li').find('video').each(function(){
});
to capture the video tags on a li?
Thanks
Hi, do you know if it is possible to use selectors for a video tag?
For example:
$(this).find('div.misc').find('ul').addClass('thumb-fila').find
('li').find('video').each(function(){
});
to capture the video tags on a li?
Thanks
$("div").fadeIn(300).animate({opacity:1},5000).fadeOut(300);
Dave Maharaj :: WidePixels.com wrote:
I was wondering how do you make text fade in for a specific amount of
time then fade out.
I have the fade in / out part..i just cant figure out the duration so
it stays there after fading in fo
Hey Anshu shetti,
Your trying to display google map with model box.
May be your google map is having some issue check with its flow,
1 - goolgle map should be generate first.
2 - model box code should execute after that.
Here I think so your model box is appearing first before to generate google
I'm using JQuery 1.3.2 and jQuery UI 1.7.2. It was apparent in Firefox
3.5 definitely but also IE 6/7/8 I believe. To overcome this problem,
I am currently removing the remote tab then adding the same tab except
with a local source which is obviously a bit clunky.
On Jul 23, 7:43 am, Klaus Hartl
Sorry about the lack of information :o
The input box is:
The jQuery code is:
$("input[name=name]").val();
And no results.
The problem exists on MSIE8, but I think to remember it also is in
MSIE7..
On firefox it works great.
Hi Eric,
thanks for your reply.
"Using jQuery to backload any additional plugins or scripts can be
super useful" - yes, that's why I've been doing for a while now. :)
As mentioned, I was primarily playing around with these techniques to
see how it goes, and I wish I could have a gotten a bit mo
good morning :o)
I solved the problem:
- IE6 is deleting every single option if you use XXX.html(''); or the
jq-plugin with .removeOption(/./); and stops the browser for this time
- all other(including IE7+IE8) are handling this in background
process.
Result:
I used the beforeSend methode to c
77 matches
Mail list logo