Oh my giddy aunt, it was me that was blind. Thanks mate.
/S
On Jul 27, 3:25 pm, Jörn Zaefferer
wrote:
> That page as an options
> tab:http://docs.jquery.com/Plugins/Treeview/treeview#toptions
>
> Jörn
>
> On Mon, Jul 27, 2009 at 3:21 PM, SuneR wrote:
>
> > Hi,
>
> > I have today started to mes
Hi,
I was trying out http://jquery.bassistance.de/treeview/demo/ Sample 2
with IE 8 in IE 7 mode. The menu animates and opens. When I click to
close, the menu collapsed instantaneously. However, it is working
perfectly in IE8 mode i.e. the menu animates while closing up. How do
I fix this for IE7
That's seems to be exactly what I needed.
Unfortunately, live() only works with a limited number of events, and not
with sortable.
I saw there may be a plugin that could help : livequery.
No time to investigate further for now.
See you in a few weeks !
:D
On Fri, Jul 24, 2009 at 18:27, Jérôme GRAS
Hi,
You could you the split function (assuming words are space sperated)
var mySplitResult = oXmlHttp.responseText.split(" ");
mySplitResult.length- Gives the array length, hence the number
of words - 1 (if I remember correctly)
On Mon, Jul 27, 2009 at 11:46 PM, Ricardo wrote:
>
Figured it out, for those interested:
$(document.createElement('tr'))
.load('http://localhost:8080/admin/?page=moretabletest')
.insertAfter('.c_row' + i);
On Mon, Jul 27, 2009 at 9:30 PM, avrono wrote:
> Hi,
>
> I am trying to dynamically load html into a table, i.e add new rows i
Try the most obvious method: '("#hiddenfieldId").val(' or
'("#hiddenfieldId")[0].value =' or '("#hiddenfieldId").get(0).value
='
assuming the hidden field is as specified below and the coder using
uniqueid.
If the code cannot be found, the original coder may use class name or
other attributes.
Hi,
I am using the autocomplete on local client array , and want know how
can i allow user to key in the text if autotext could not find any
results.
your help is greatly appreciated.
Thanks,
sush
Hi,
I am trying to dynamically load html into a table, i.e add new rows in
the table if a user clicks on an element in the table.
Calling code :
Click ME
No problems there, I have a function :
function AddElement(someval, i) {
$('.mytable').load("http://www.someURL.com/?page=moretabl
As "ButtersRugby" said, usually you'll count characters because of a
string length limit for some field or display, so you'll want to take
all punctuation and spaces into account. Counting letters only is
rarely a real requirement.
s.match(/\w/g).length makes more sense at first sight, despite be
On Jul 28, 5:53 am, James wrote:
> This:
> (function() { do some stuff } )();
>
> is known as a closure.
You have a warped view of a closure. It is an example of the module
pattern, which can create closures, but doesn't necessarily do so.
URL: http://www.jibbering.com/faq/faq_notes/closures.
personally i do not understand anything this guy says
back to the topic
i personally will put an extra/custom attribute in like
then $("a") and sort on the "ref" attribute.
If not mistaken, there is a sorting plugin somewhere or even in jQuery core.
Or you should be able to do it easily
On Mo
Since you didn't post your html and code, I would guess you don't have
name property specified on your html.
should be
On Jul 28, 8:26 am, jckos wrote:
> Hi,
>
> If I focus on a field multiple times or submit the form multiple
> times, I the script adds multiple error messages per field,
Haven't you ever had the answer to a question, but not known you had the
answer? :-)
It's like the saying we had in high school:
Freshmen know not that they know not.
Sophomores know that they know not.
Juniors know not that they know.
Seniors know that they know.
-Mike
> From: Kean
>
Anyone know how to create the slider effect, coda slider, so that it
opens up with something other than the first panel/div? I know there
is an option with serial scroll to do this, but for some reason its
not happening for me. Thanks in advance
Andy
No problem, Michael. Thanks for the clarification regarding an
anonymous function and a closure, and the detailed explanation for
closures. I'll give some related resources a good read on closures. :)
On Jul 27, 1:46 pm, "Michael Geary" wrote:
> That's a great explanation, James. I hope you won'
Thanks so much for the response - I was doubtful if my posts were even
making it into this list...
Yes - it is clear to me that there is a wierd and unknown issue with the
ajaxsubmit and I am trying other options - the $.ajax and the $.get/$.post.
I will try to debug a bit more if I can pinpoint
That's a great explanation, James. I hope you won't mind if I nitpick a
point of terminology.
The code you were talking about is not a closure:
(function() { /* do some stuff */ })();
As you described, the advantage of this code is that any variables you
define inside the function won't pol
Why post the question if you had the answer?
On Jul 27, 8:40 am, "www.voguemalls.com" wrote:
> who knows if it is possible to join two jQuery objects to make
> a new object. For example...
>
> var e1 = $("#firstObject");
> var e2 = $("#secondObject");
>
> var combined = e1.add(e2); // This is
The most important part in my string is..it contains chinese characters...
For an example
I come from 香港<---so totally 5 words instead of length = 15
Thx all of you.
On Tue, Jul 28, 2009 at 7:23 AM, RobG wrote:
>
>
>
> On Jul 28, 5:09 am, Liam Byrne wrote:
> > A letter count is FAR easier
On Jul 28, 5:09 am, Liam Byrne wrote:
> A letter count is FAR easier - just get the string's length.
The length of the string will give you a *character* count. I would
not inlcude punctuation, white space, etc. in a *letter* count. For
number of letters, try:
s.replace(/[^a-zA-Z]/g,'').le
On Mon, Jul 27, 2009 at 6:06 PM, Jörn
Zaefferer wrote:
>
> Having JS sanitize for the backend is somewhat dubious, I'd not go
> there, but you probably don't want to discuss that.
I think we're in agreement there, actually. JS provides no security
and shouldn't be relied on. Rather I'm looking
If the return false fails, it's usually something wrong with parsing
your Javascript that causes the problem.
For example:
$("input#email).after("works");
It's missing a closing quote (") after "email".
On Jul 27, 12:28 pm, pedalpete wrote:
> Thanks John,
>
> I wasn't familiar with the .live()
Thanks John,
I wasn't familiar with the .live() before, but of course I'll use that
where I can.
Though I'm honoured and humbled by your response, unfortunately, in
this case, I'm using a 'submit', and the documentation says i can't
use .live on submit currently. (I did try and, and it didn't wo
Hi,
If I focus on a field multiple times or submit the form multiple
times, I the script adds multiple error messages per field, both valid
and error classes, depending on the data entered.
Any suggestions?
Thanks,
John
Here is my simple bit of JS that isn't working;
$('#trigger').hoverIntent(function(){$('#info').slideDown('500')});
Maybe it is conflicting with the other plugins I am using; scrollTo,
localScroll and serialScroll? (I don't see why it would.)
Thanks in advance, Mat.
I'm using a gallery scrollable component for thumbnails. When a user clicks
on the thumbnails it loads that larger version of the image into a div on
the same page. All the large images are already loaded into the div.
My problem is when a user goes to click on the larger version of the image I
Having JS sanitize for the backend is somewhat dubious, I'd not go
there, but you probably don't want to discuss that.
Anyway, a validation method has access to the validate element, so you
could as well write a method that just sanitizes, nothing else.
Combine that with a strict validation metho
I need to make a change to a web page that has lots of JQuery
things in it, it appears. Not knowing anything about the actual use
of JQuery, however, while I will start looking at the doc, can someone
help me with what to look for in a 4000+ line file to find out where
the value is being set f
Hi, i’m Vincenzo, a web developer from Italy. I use your ajax code
following the guide ad the example:
http://www.javascripttoolbox.com/jquery/?doctype=strict
. I have some question about my work with your code, if can answer me.
Here the question:
The problem is that my code do not run on expl
I racking my brain because I can't use PHP for this site.
:-(
I have used all the different variations of suckerfish and superfish
for a long time now.
With this version to help alleviate massive updating, I want to make
this one a global include and have the script pick up the page URL and
writ
On Mon, Jul 27, 2009 at 5:20 PM, Jörn
Zaefferer wrote:
> You could start by writing custom methods for each of these input
> types, and where possible, delegate to the existing methods:
> http://docs.jquery.com/Plugins/Validation/Validator/addMethod
If I'm following you, you're saying to have val
If you want a global variable, set a global variable.
var isAuthenticated = false;
$(document).ready(function(){
// do your ajax here and set: isAuthenticated = true;
// in your success callback
});
On Jul 26, 5:27 am, FrenchiINLA wrote:
> I would do like that:
> isAuthenticated function
IDs in HTML are unique. You cannot have multiple elements with
id="removeSearchword".
You can use the CLASS attribute instead, or make unique IDs like:
id="removeSearchword_1", id="removeSearchword_2", ...
and then change your selector to:
$("[id^=removeSearchword_]").click(...);
On Jul 26, 10:0
You could start by writing custom methods for each of these input
types, and where possible, delegate to the existing methods:
http://docs.jquery.com/Plugins/Validation/Validator/addMethod
What do you think?
Jörn
On Mon, Jul 27, 2009 at 8:42 PM, Brett Ritter wrote:
>
> I considering input rewri
It looks like you're using the old liveQuery plugin. Why not just use
.bind() or .live()?
--John
On Mon, Jul 27, 2009 at 5:11 PM, pedalpete wrote:
>
> So, this isn't related to any one bit of code, but it seems to be a
> problem I run into almost everytime i need to stop a form or link for
> d
So, this isn't related to any one bit of code, but it seems to be a
problem I run into almost everytime i need to stop a form or link for
doing what it was originally intended to do (submit).
Now, i have used return false; many times, but it never works at
first.
I'm never sure what I end up chan
I agree Liam. If you are doing a letter count then spaces punctuation
etc all count towards your supposed limit. Word Counts are typically
useless. :|
On Jul 27, 3:09 pm, Liam Byrne wrote:
> A letter count is FAR easier - just get the string's length.
>
> L
>
> Rick Faircloth wrote:
> > Is it as
var group1 = $('input[name=group1]:checked').attr("value");
var group2 = $('input[name=group2]:checked').attr("value");
var group3 = $('input[name=group3]:checked').attr("value");
This will grab the value of the selected radio button within each of
your groups.
Then do some math to add up you
It sounds strange that value="2" would be the number of points.
Usually, a value would be used to indicate a unique answer for a
question. Usually, 1, 2, 3, 4 if you have 4 possible answers for one
question. I would suggest using the ID or CLASS attribute, or
Javascript objects to store that type
Something like this:
$(button).click(function(){
var total = 0;
$(input:radio).each(function(){
total += $(this).val();
});
alert(total);
return false;
});
On Mon, Jul 27, 2009 at 16:41, briggs81 wrote:
>
> This is probably simple, but I am new to jQuery and am tryin
This is probably simple, but I am new to jQuery and am trying to wrap
my head around things.
Basically what I am trying to do is a very basic quiz. I have 3 groups
of radio buttons (3 questions with 4 possible answers for each
question, so.. multiple choice).
Each answer has a number value assig
hi all,
I'm new to jQuery.
I'm making a website for a dance institute.
I've to embed around 20 3-4min videos in my website's showcase and an
image slideshow of 70-80 images.I've found a plugin for image
slideshow that'll fetch two images at a time from a flicker or picasa
a/c but i'll have to expl
You want to do this with jQuery (Javascript)? This should be done on
the server side.
A user can stop Javascript, you know. If the user submits the form and
doesn't wait for 30 seconds before going to another website, the email
will not be sent to them...
On Jul 24, 7:54 pm, bharani kumar
wrote:
All messages are moderated - so it'll depend heavily upon when we're able to
review them.
--John
On Mon, Jul 27, 2009 at 3:19 PM, Cesar Sanz wrote:
>
> I takes about 3 hrs to display your first message. dunno why
>
> - Original Message - From: "Jon Jackson"
> To:
> Sent: Sunday, July
This:
(function() { do some stuff } )();
is known as a closure. It just runs once and it does not leave around
any global variables (that is, if you also don't set any inside this
function also).
Compared to this:
function doSomething() { // do some stuff };
The doSomething variable will exist
I had 1 problem with ajaxSubmit and switched to using $.post and it
solved my problems, maybe it can be an alternative for you
On 26 juil, 01:49, anoop wrote:
> After several attempts, I have been able to consistently reproduce
> this problem. It appears that this is an issue with the ajaxSubmit
I takes about 3 hrs to display your first message. dunno why
- Original Message -
From: "Jon Jackson"
To:
Sent: Sunday, July 26, 2009 5:23 AM
Subject: [jQuery] My messages don't show?
What could I be doing wrong?
I've joined the group, posted a message (tried it twice)... but it
A letter count is FAR easier - just get the string's length.
L
Rick Faircloth wrote:
Is it as simple to do a letter count?
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf
Of Liam Potter
Sent: Friday, July 24, 2009 6:53 AM
To: jquery-
I considering input rewriting (transformation, conversion, etc, use
the verb of your choice) to be an essential part of validation.
This means phone numbers, SSN, dates, credit card numbers, etc should
all accept "loose" input types and should be standardized for backend
processing.
(Personal Pet
Hi,
I am using jqModal (http://dev.iceburg.net/jquery/jqModal/#examples)
to open a modal (some will argue it's an overlayed since
I'm not forcing focus as code below shows).
An html form is loaded using ajax. I'd like to submit this form and
load the html response in the modal.
Here's how I d
already been answered, his example was his answer.
brian wrote:
appendTo()? What do you mean by "join"?
On Mon, Jul 27, 2009 at 11:40 AM,
www.voguemalls.com wrote:
who knows if it is possible to join two jQuery objects to make
a new object. For example...
var e1 = $("#firstObject");
var
Hello, all!
Brand new to jQuery, although I have used some apps that use jQuery in it.
I have a page I have to build using PHP and (preferably) jQuery. I have an
immense array with anywhere from 100 to 10,000+ items in it. I'll have a
page with 3 panes. The first pane will list the basic inf
And paginate the 1st div, using AJAX to refresh it with each "page"
for your list.
On Mon, Jul 27, 2009 at 11:58 AM, Liam Potter wrote:
>
> divs, updated using ajax.
>
> gnetcon wrote:
>>
>> Hello, all!
>>
>> Brand new to jQuery, although I have used some apps that use jQuery in it.
>>
>> I have
appendTo()? What do you mean by "join"?
On Mon, Jul 27, 2009 at 11:40 AM,
www.voguemalls.com wrote:
>
> who knows if it is possible to join two jQuery objects to make
> a new object. For example...
>
> var e1 = $("#firstObject");
> var e2 = $("#secondObject");
>
> var combined = e1.add(e2); //
divs, updated using ajax.
gnetcon wrote:
Hello, all!
Brand new to jQuery, although I have used some apps that use jQuery in it.
I have a page I have to build using PHP and (preferably) jQuery. I have an
immense array with anywhere from 100 to 10,000+ items in it. I'll have a
page with 3 pan
Hi all,
I'm completely stuck and been trying to solve this all day! Any help would
be greatly appreciated...
Basically, I have a suckerfish type navigation. It works fine with CSS and
I'm trying to add some JQuery to animate the slide-down effect. I've got
that working, but I need to have the sub
Hi..
i have some doubts in usage of jqgrid. I am trying to achieve fallowing
functionality.
I have insert and edit functionality in same form. Now i have one field
called "UserName", which i don't want to edit. so for that i make it
readonly as following:
{ name: 'UserName', index: 'UserName',
who knows if it is possible to join two jQuery objects to make
a new object. For example...
var e1 = $("#firstObject");
var e2 = $("#secondObject");
var combined = e1.add(e2); // This is the expression I'm looking for
Thanks,
http://www.voguemalls.com
Jack,
taking into account the need to control the width of the alphabet
list, my original suggestion of including a configurable list of valid
letters (to cover accented characters), might not hold water because
potentially you could have well over 26 letters depending on the
language.
The po
Thanks Ricardo, that was exactly what I was looking for - just in the
wrong place I guess!
On Jul 23, 10:19 pm, Ricardo wrote:
> Guess what?
>
> var e1 = $("#firstObject");
> var e2 = $("#secondObject");
>
> e1.add( e2 ) is exactly what you're looking for :)
>
> http://docs.jquery.com/Traversing
To all:
I have created a plugin that handles International numeric formatting
on the fly by using a Reg Expression. Before I release this I would
appreciate comments and suggestions for improvements.
Demo can be viewed here http://decorplanit.com/plugin/index.htm
Thanks in advance.
Bob
Well I have sorted the problem of the span when there is a sucess on
the input. I have added these two lines to the success method:
label.prev('form :input').addClass('valid');
$('form :input').filter('.valid').prev('label').find('span').hide();
My problem is now that when there is an on the inp
I was able to get this to work perfectly by removing the dataType. It
ran my success function and parsed as XML. Is this a bug?
On Jul 24, 3:01 pm, TCoakley wrote:
> I am attempting a fairly easy ajax call within a zend framework, but
> am getting a parseerorr. I have validated the xml and will
correction, I got the images showing now, but not the animation.
--
View this message in context:
http://www.nabble.com/page-sliding-jQuery-Javascript-code-not-playing-with-DHTML-page-tp24679601s27240p24682206.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Hi,
Have you tried using the connectToSortable option for draggable?
Thanks & Regards,
Dhruva Sagar.
On Mon, 2009-07-27 at 00:21 -0700, freq wrote:
> Hi,
>
> I'm using Jquery to both Drag (and drop) and sort a visual lis
glad it worked!
On Jul 27, 12:15 am, Billy wrote:
> Thank you for that hint - I changed the CSS to display:inline, and the
> script now works fine on IE. :D
>
> On Jul 21, 1:13 am, amuhlou wrote:
>
> > I don't know if this is part of the issue or not, but IE7 does not
> > have support for the d
That page as an options tab:
http://docs.jquery.com/Plugins/Treeview/treeview#toptions
Jörn
On Mon, Jul 27, 2009 at 3:21 PM, SuneR wrote:
>
> Hi,
>
> I have today started to mess around with the Treeview plugin, but I
> have not been able to find a decent documentation. Am I just looking
> in th
Hi,
I have today started to mess around with the Treeview plugin, but I
have not been able to find a decent documentation. Am I just looking
in the wrong places?
I would have thought that by going here -
http://docs.jquery.com/Plugins/Treeview/treeview#options
I would see all the available opti
I am sorry, I did not understand your answer. Do you have a solution
to my problem?
On Jul 26, 3:41 am, 刘永杰 wrote:
> easyer.
>
> 2009/7/25 mila
>
>
>
> > I have data that looks like that
>
> > 23
> > 9
>
> > I need it to be sorted numericaly by values between >. How do I
> > do that?
>
>
I think this article may help:
http://www.learningjquery.com/2008/10/1-way-to-avoid-the-flash-of-unstyled-content
On Jul 27, 3:51 am, Mushex Antaranian
wrote:
> $(document).ready(function() { /* your code */ }) <-this means that
> code inside {} brackets will execute after DOM is loaded..
>
Hi Everyone,
I am trying to get images to animate from the center in height and
width.
I can get the animation to work but can't find anywhere how to get it
to work from the central point!
Hopefully someone can help me here.
Thanks
Sean
Hi,
I'm using Jquery to both Drag (and drop) and sort a visual list or
representation of VOIP phones.
The problem is that after I have dragged (and dropped) a DIV. It will
not sort at all anymore.
After you have dropped for sorting, the DIV goes back to where I
dropped it with dragging.
I have
My aspx page:
$(function() {
$('#date0').datepicker({
changeMonth: true,
changeYear: true,
yearRange: '-30:+0'
});
All
Maybe you can hide the elemets first(using css), then after the
javascript loaded, modify elements and show them.
This still isn't a nice way.
On Jul 27, 8:59 am, Mutual Designs wrote:
> How do I prevent the content loading on my website before the
> Javascript loads. It seems that all of my Jav
Using the following code example from Scott Robbin, which simply allows for
separate html pages to slide in and out of the one screen, I wanted to
expand this by sliding in some DHTML.
Here is the page-sliding code used:
http://srobbin.com/blog/jquery-pageslide/
DHTML animated code:
http://www
The first time I held the mouse over the image, the images did not display.
But when I held the mouse over it again, the images showed. I saw them
fading in as well, so it seems they first need to be loaded after the
element is called.
Hope this helps a little bit to diagnose the problem.
On Mon,
Hi All,
I have the following page:
http://87.90.101.154/DesignAndCo/index.php?Itemid=38&option=com_virtuemart&lang=fr&page=shop.product_details&flypage=product_flypage_design_and_co&product_id=372&category_id=40&manufacturer_id=24
If you move the mouse cursor over the orange "Euro" image, a jQu
Hi, I didn't check your code, but when you write "current value" and
"old value" I supposed you change those dynamically. In that you
should take a look at this:
http://docs.jquery.com/Events/live
Cheers
On 27 Jul., 05:49, JC wrote:
> Now, I was not expecting this. You can get the text inside
Thanks for that! I thought of doing something like that but it means
validating twice really so I was thinking that when the validation
call is done and the field, whatever it may be is correct then it
removes the span.
Problem is I dont get where the plugin adds the checked class I know
that it
$(document).ready(function() { /* your code */ }) <-this means that
code inside {} brackets will execute after DOM is loaded..
On Jul 27, 5:59 am, Mutual Designs wrote:
> How do I prevent the content loading on my website before the
> Javascript loads. It seems that all of my Javascript is lo
Hi
Content must be loaded before you can do any manipulations with it via
js..
Or you can load content via ajax calls ( i.e. $.load() ) and modify it
before appending to document.. But it isn't the most nice way to do
it..
Can you explain what exactly you are trying to do ??
Btw i think you are
Take a look at the available options:
http://docs.jquery.com/Plugins/Validation/validate#options
The one you should start with is showErrors. The default displays the
inline messages, and by overriding it, you should be able to join the
error messages into a string and put that into an altert.
J
82 matches
Mail list logo