result is being triggered with null values when the list gets shown onchange of
input value.
On Sat, Sep 12, 2009 at 08:36, Joel D'Souza wrote:
I intend to use the blur function when a selection is not made to
clear some hidden field values.
And the result function to set/update those hidden
I intend to use the blur function when a selection is not made to
clear some hidden field values.
And the result function to set/update those hidden fields when a
selection is made.
With the mouse selection, as both blur and result are triggered
simultaneously, a race condition occurs. This probl
Hi All,
Hoping someone can help me out with this, been stuck on it for a while:
I'm using the latest version of the jquery form plugin (from MAlsup) for
file uploading. The upload works: the server call happens, the file data
makes it there and the server returns a value, in this case just a
Your code is fine - I think it has to do with the float cascading to
the menu items. If you add in float:none to the children li elements
it should work:
#NavList li ul li {
...
float:none;
}
On Sep 11, 10:27 pm, GLSmyth wrote:
> I am missing something fundamental and am sure that someone can p
on 9/11/09 8:02 PM, Steffan Cline at stef...@hldns.com wrote:
>
> on 9/11/09 5:15 PM, Steffan Cline at stef...@hldns.com wrote:
>
>>
>> Perhaps I am not Googling correctly to find the data I am after.
>>
>> I want to have a select that upon making a choice will add elements to a
>> second sel
Hey folks,I'm new to jQuery (and the G Group here) and am running into a
small problem I can't seem to get my head around.
http://bwcfla.com/partners.php
Down at the bottom of the page we have a nice little 3 tab interface.
The 'partners' tab demonstrates the functionality I'm trying to get.
Th
I took the original code that Brett is giving you and done something
for one of my app. This is not the best code around but this should do
what you wish:
http://myprogrammingetc.blogspot.com/2009/08/little-jquery-plug-in-to-move-and-sort.html
So you only have to include the plugin code and then
That website you linked to doesn't use Ajax, so it loads all the wines
in in one go. If there wasn't many items then this would be the best
way to go. Otherwise, you'll have to take the db hit: which wouldn't
be too bad if you've got it caching stuff properly...
But if you load them all at once i
on 9/11/09 5:15 PM, Steffan Cline at stef...@hldns.com wrote:
>
> Perhaps I am not Googling correctly to find the data I am after.
>
> I want to have a select that upon making a choice will add elements to a
> second select. I've seen code to do this using ajax calls but what if I
> embed the d
The behavior i'm seeing is the onShow only seems to run once. On
subsequent modal window opens the contents in onShow don't seem to
execute.
-k
On Sep 11, 7:31 pm, folder123 wrote:
> I'm still having issues with the code below, the slider now doesn't
> even show up on a 2nd window open.
>
> Any
I'm still having issues with the code below, the slider now doesn't
even show up on a 2nd window open.
Any thoughts greatly appreciated, I'm sure i'm missing something
simple.
-k
On Sep 11, 2:52 pm, Eric Martin wrote:
> Use the onShow callback in SimpleModal to call the slider init code:
>
On Fri, Sep 11, 2009 at 22:44, Erick wrote:
Hi Alex,
Thank you very much for the response, but I'm pretty new to this.
Done a LOT of vanilla js, but not much jquery. Could you please help
me with the results trigger?
I'm assuming in doc.ready, do something like this:
$("#my_field").result
jQuery('#x').autocomplete(.,parse=function(data){parse the data with same
resulting format as parse(data) in autocomplete}, ...);
On Fri, Sep 11, 2009 at 23:37, Joao Gilberto Magalhaes
wrote:
Hi Alex,
Thanks for your quick response. There is one item about parse XML in the
autocomplete T
I am using the haccordion plugin which works via a width animation.
However, when an accordion header is on the right side, clicking
another accordion header causes it to move left during the animation
before going back to its correct spot on the right.
The plugin demo and code is here:http://grou
Hi.
I have a form with some text input and a file input. When i try to
upload the form with the Form Plugin, the $_FILES array came empty.
The field name is newImage, so when I try to show $_FILES['newImage']
['tmp_name'] i can see nothing. Instead I can see the file name if i
do $_POST['newImage'
Perhaps I am not Googling correctly to find the data I am after.
I want to have a select that upon making a choice will add elements to a
second select. I've seen code to do this using ajax calls but what if I
embed the data into the page in a JSON format? I am looking for a good
example of this.
Maybe your use of appendTo is wrong, I just did this test:
$.getJSON("http://www.pomona.edu/dev/home/spotlight.json";,
function(data){
$.each(data.items, function(i, item){
$("div").append(i);
});
});
I got 01234, so the index of each item in y
Hello,
I have the following code:
// pull in json feed and inject panes into page
$.getJSON("http://www.pomona.edu/dev/home/spotlight.json";,
function(data){
$.each(data.items, function(i,item){
$('').appendTo('#spotlight-pa
Excellent, thanks for the reply and your hard work on SimpleModal,
it's greatly appeciated.
-k
On Sep 11, 2:52 pm, Eric Martin wrote:
> Use the onShow callback in SimpleModal to call the slider init code:
>
> $('#basic-modal-content').modal({onShow: function (dialog) {
> $("#slider-vertical
Use the onShow callback in SimpleModal to call the slider init code:
$('#basic-modal-content').modal({onShow: function (dialog) {
$("#slider-vertical", dialog.container[0]).slider({
orientation: "vertical",
range: "min",
min: 50,
max: 300,
value: 100,
> Since the animations chain, the next one
> shouldn't start until the animate is done.
Ah...to be more specific, I guess I wasn't chaining animations. I was
chaining an non-animated event to an animation.
The solution in that case seems to work is instead of chaining the
second animation, I ad
I have been poking around at the various file upload solutions.
Wondered what people here had to say about which are the best.
I am looking for single file upload, to image crop. I would like to
use jCrop, so anyone that has experience implementing that with it,
let me know what you cho
Haven't done anything like that yet. You want it in the URI, not in cookies?
Hm, may take some time to make sure the page isn't "jumpy".
aquaone
On Fri, Sep 11, 2009 at 14:07, J. Bobby Lopez wrote:
>
> Aquaone,
>
> Like your tablefilter implementation, much simpler than some of the
> others I'
Aquaone,
Like your tablefilter implementation, much simpler than some of the
others I've seen.
I'm trying to find a way to save (bookmark?) the page with the
filters, so that I can come back to the page later with the same
filters already in place.
Have you done any work in that direction alrea
http://www.bcidaho.com/plans/individual/Which-Health-Plan1.asp
is the test page.
nevermind the other functionality right now... when you take the top
handle of the top slider, and go back and forth, you can see 2 or 3
divs that show upwhen you cross the threshold of low to medium for
example
I am trying to create a a page that pulls in some content via AJAX.
Here are the details:
The base page has a bulleted list which is clickable.
This list is inside a content element which itself is in a parent
element (...)
On clicking a list item, the content_container is hidden, and the new
cont
I want to make is so that if I select one radio button, it will
display checkboxes, and if I select the other, it will hide the
checkboxes. One radio button says select all, which would hide, and
the other is Choose what to select, which would disclose the
checkboxes. If I have
$(document).ready(
Hi Alex,
Thanks for your quick response. There is one item about parse XML in the
autocomplete TODO document, so my intention is help the project.
But, in fact I prefer use a solution with no change in autocomplete. Could
you give a rough sample about HOW I implement this?
Thank you again.
2009
I am using the haccordion plugin which works via a width animation.
However, when an accordion header is on the right side, clicking
another accordion header causes it to move left during the animation
before going back to its correct spot on the right.
The plugin demo and code is here:http://grou
Bumping this question back up because I still have not found an answer
to my problem
On Aug 13, 11:14 am, Brad wrote:
> Didn't work. thanks for trying though, Liam.
>
> I believe the bug may be in jQuery 1.3.2 itself because this is the
> first time I've ever had a bug I can't just narrow do
> I need to check all multiselect values before posting form.
> How i can do it?
>
> I'm trying to use beforeSubmit function, but changes that I do there
> doesn't applying to the formData.
> (Form plugin send information that was grabbed before beforeSubmit
> function).
Try 'beforeSerialize' ins
Hello,
I've just tried out TableSorter: http://tablesorter.com/docs/
And I've also tried tableFilter: http://ideamill.synaptrixgroup.com/?page_id=16
Both are really nice jQuery plugins, however it looks like tableFilter
development has stopped somewhere around mid 2007.
There are some featur
Hi Alex,
Thank you very much for the response, but I'm pretty new to this.
Done a LOT of vanilla js, but not much jquery. Could you please help
me with the results trigger?
I'm assuming in doc.ready, do something like this:
$("#my_field").result (function(event, data, formatted) {
// do some
Anything?
On Sep 11, 12:12 am, Kev wrote:
> Hello,
>
> I was wondering is there a way where I can display my error codes in
> the Label tag rather than outside of tthe input fields? If so how can
> I do that?
>
> Thanks
Thanks for the tip Michael. What I ended up doing was switching from
$.get to $.ajax, and specifying my dataType as XML, and it works
perfect now:
http://docs.jquery.com/Ajax/jQuery.ajax#options
Quite complicated. You should be using some identifier to do this and
not rely on the HTML tree, and tables are meant for tabular data.
This might work anyway, if there are no after .timer:
$('.timer').parents('table').find('a:last')
or
$('table:has(.timer)').prev('table').find('a')
On Sep 1
function activities(obj)
{
$(document).ready(function() {
$('.ui-accordion-container').accordion('option', 'active', 3);
});
}
Personal Info
Your
Name
On Fri, Sep 11, 2009 at 8:32 AM, vsnu wrote:
> I need to sort tags by their class names
> Please help me !
I found this:
http://www.mail-archive.com/disc...@jquery.com/msg05470.html
but the linked bug report says that solution no longer works.
Offhand I'd guess you could use the same approac
http://groups.google.com/group/jquery-en/browse_thread/thread/92cd7620c1fde78
To be brief, selecting an item in the result list with the keyboard
using tab causes the result event to trigger.
In the case of selecting an item in the result list with a mouse
causes both the result and blur events to trigger at the same time ...
thereby, causing a race condition.
On Sep 9, 1
Can you share a sample page so we can see what you're seeing? Maybe
reproduce on jsbin.com
http://jsbin.com/
if you don't have a place to host your own page.
- Richard
On Fri, Sep 11, 2009 at 12:43 PM, Luh Hooo Zer wrote:
>
> I have a slider with 30 steps.
>
> at step 15, a hidden div appaears.
I have a slider with 30 steps.
at step 15, a hidden div appaears... at step 14 there is a div showing
by default.
when you slide to step 15, it replaces the div with the new div.
sometimes when i slide the handle too fast, it displays both divs on
top of one another...
whats happening here?
Hi ,
I have to change the CSS based on the window resizing and on the load
event (based on window size thats opening).
I used the below code and it was working for FF3. But for IE it fails.
Please suggest any work arounds
$(function()
{
var screenWidth= 0;
var screenHeight= 0;
NetBeans ftw! For JavaScript and PHP, it's probably the best around.
Last time I used aptana, it seemed very slow, that was a year ago or
so.
On Sep 11, 9:20 am, Alex Weber wrote:
> Just confirming: Aptana and Netbeans are excellent choices! :)
>
> On Sep 11, 8:15 am, szymon jankowski
> wrote:
Hello!
Given the following DOM
How can I *efficiently* find all .myClass nodes that are *NOT*
descendants of .notClass ?
What I currently do is find all .myClass nodes and then run a filter
on the results that checks that the node doesn't have a .notClass
parent. This just se
When Video Player is in Full Screen Mode and browser is Google Chrome
then buttons don't work.
Check out the animate method. You can use it as a delay by telling it
to animate nothing (or a propery you know the value of) for a
duration. So something like set the opacity to animate to 1, over a
period of 300ms. Since the opacity is presably already 1, it will just
hang there for 300 ms! Sinc
Ho can I remove an specific element from a jquery selection. I have a
selection of dd and dt of an definition list.Now I remove a specific
one, using remove(), but in the selection the element is still there.
I've read the manual so I know its a feature but how to remove the
element without queryi
I`ve the follow code:
$(function() {
$("#datepicker").datepicker({minDate: '1/1/2009', maxDate:
'10/10/2010'});
});
In this ame page, I`ve this field:
I would get the date of field with name: date integrate with jquery
like this:
-
var hotdate = document.getElementById('date1').value;
hi,
i'm personally not the maintainer of autocomplete, but in my opinion this code
is too purpose specific to be hardwired in autocomplete.
but you could pass a function with the part in else as the 'parse' argument to
autocomplete, and need no change in autocomplete itself.
On Fri, Sep 11, 2
Hi,
Basically to work like I said before I make the follow changes in
AutoComplete v1.1 (full file is attached)
function parse(data) {
var parsed = [];
if (!options.xmlResult)
{
var rows = data.split("\n");
for (var i=0; i < rows.length; i++) {
var row = $.
If your AJAX call returns a fragment with a script tag in it, then
dropping it into the page via the jQuery html(fragment) method should
run the script.
On Fri, Sep 11, 2009 at 9:36 AM, Jan wrote:
>
> I'm stuck with the same problem, i'm also trying return a 'partial
> page' containing a script
I'm stuck with the same problem, i'm also trying return a 'partial
page' containing a script tag with some javascript i would like to see
excecuted ..
I've tried the textarea suggestion but can't seem to get it to work (i
tried the dataTypes 'json' and 'script' and even 'xml' out of sheer
despera
Thanks for your reply, Jörn.
I've tried :
rules: {
"genre-f": "genreCheck",
"genre-m": "genreCheck"
}
and :
rules: {
"genre-f": {
genreCheck: true
},
"genre-m": {
genreCheck: true
}
}
with :
$.validator.addMethod
Something like this? http://jquery.bassistance.de/validate/demo/multipart/
Jörn
On Fri, Sep 11, 2009 at 4:04 AM, gMinuses wrote:
>
> I have the form:
>
>
>
> ... some inputs ...
>
>
> ... some inputs ...
>
>
> ... some inputs ...
>
>
>
> By default
See
http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29
Jörn
On Fri, Sep 11, 2009 at 2:26 PM, mattso wrote:
>
> Hi,
>
> I'm using the bassistance.de Validation Plugin for jQuery and I have
> the following problem :
>
> When using a dash(-) separ
Hello,
As you all probably know, position:fixed in CSS has its flaws. For one
thing, it makes scrolling choppy in Firefox because it's constantly
trying to repaint the markup behind the fixed element.
I would like to replace position:fixed with jQuery. I'm currently
using a plugin called scrollf
I have a format like this
I need to sort tags by their class names
Please help me !
Is there any way to have just css load for IE6 (i.e. no javascript) in
superfish?
The reason I ask is that I am using superfish on a site with a white
background and in IE6 the arrows show up as being white with a black
background (I edited arrows-ff.png to accomodate the white
background of
Hello everyone,
I have a cutsom function "initForms" who send forms with Ajax and
update my page content. That works great but events and effects
applied on the original page isn'nt re applied to the response
content.
In my original form page I have the folowing code :
== 8<
Hello,
I'm using the Quicksearch plug-in and it does everything I need except
for one thing.
If I have two rows, for example:
"Blood oranges" and
"Green apples"
and I search for "a", it's going to match both rows because it matches
the "a" in "oranges".
What I need to is to match only the begi
Hi,
I need to check all multiselect values before posting form.
How i can do it?
I'm trying to use beforeSubmit function, but changes that I do there
doesn't applying to the formData.
(Form plugin send information that was grabbed before beforeSubmit
function).
Hi,
I'm trying to recreate a behaviour which enables a disabled checkbox
after the user has completely scrolled down to the bottom of a
textarea ("agree to license terms").
My current state can be found at http://jsbin.com/izagu
The checkbox is not being enabled with my approach. I can enable
Hello,
I was wondering is there a way where I can display my error codes in
the Label tag rather than outside of tthe input fields? If so how can
I do that?
Thanks
I have the form:
... some inputs ...
... some inputs ...
... some inputs ...
By default, only #portion1 is visible. If inputs inside it are all
valid, #portion2 will be visible and #portion1 will be hidden, and so
on.
The problem is that j
HI, I have a sidebar application which is using Jquery. In IE, there
is one error (Unexpected call to method or property access) occurs
while appending messages. In Firefox its working fine. The problem is
with the line; join_message_jq.append(body_elem);
Here is the full code.
var roo
Hi,
I'm using the bassistance.de Validation Plugin for jQuery and I have
the following problem :
When using a dash(-) separated id for genres (i.e. genre-f / genre-m),
I get the following js error : "missing : after property id" with the
following code:
rules: {
genre-f: {
Summary - Slider does not work in SimpleModal window after more than
once.
Detail:
Step 1: Click to open modal window
Step 2: Observe slider working properly, with value being updated,
close
modal
Step 3: Click to open modal window
Step 4: Observe slider NOT working properly, NaN being returned
I'm attempting to use the pager and tablesort plugins on a table.
Initially I got everything working with just the sorting, then once
that was working, I added pagination with tablesorterPater. This is
where things started really going awry.
When the page loads, the table is trimmed to 10 rows, l
Just confirming: Aptana and Netbeans are excellent choices! :)
On Sep 11, 8:15 am, szymon jankowski
wrote:
> NetBeans IDE also has jquery support.
>
> best regards,
>
> SJ
>
> On Sep 10, 7:58 pm, MorningZ wrote:
>
> > Are you looking for something where Intellisense would work for
> > jQuery?
Well, "change" can be problematic in Internet Explorer because the
browser doesn't always trigger that event until the control loses
focus.
On Fri, Sep 11, 2009 at 12:33 AM, Jules wrote:
>
> You are right, when click() event is triggered, the check box/radio
> button value is the original value.
I am missing something fundamental and am sure that someone can point
me in the right direction.
I have a list like so:
DD
Santuary
Stream
Winter
I have styled it so that the list items float. The class DoNotDisplay
hides the unordered list. When
> That won't work. Try this test:
>
> alert( "" + null ); // "null" - but we wanted ""
>
alert vs .val() are two different things case in point:
http://jsbin.com/ahivu/edit
there is no "null" put in that text box
Have you had a go with queue?
http://docs.jquery.com/Effects/queue
Rgds.
Jon
2009/9/10 D A
>
> In pseudo code, here's what I'm trying to do with some text:
>
> shrinkText.changeText.EnlargeText.
>
> The jQuery I'm using for this:
>
>$('span#calendarNumber').animate({
>c
NetBeans IDE also has jquery support.
best regards,
SJ
On Sep 10, 7:58 pm, MorningZ wrote:
> Are you looking for something where Intellisense would work for
> jQuery? Something else? Open source so it's free or some other
> reason?
>
> A lot will depend on what you use for server side code
Hello.
I have template like this:
1.
2.Stary link:{0}
3.Nowy link:{1}
4.Nowy link:
5.Nowy link:{2}
6.Nowy link:
7.
after execution some patterns are replaced by arguments and some not.
Arguments:
{0} = http://wp.pl
{1} = http://2h.localhost
{2} = http://localhost/2h
it looks like this:
1.
2.St
Try this
var values=$('input[name="item[]"]').map(function()
{
return $(this).val()
}
).get();
Thanks
Rupak
On Fri, Sep 11, 2009 at 3:04 PM, ximo wallas wrote:
> Hello!
> I have a form with some fields like this:
>
>
>
>
>
>
> How can I retriev the values with jquery?
>
> I'm using thi
Hello!
I have a form with some fields like this:
How can I retriev the values with jquery?
I'm using this:
***
item = new Array();
for(var n = 0 ; n < items_amount ; n++)
{
item = $("#item[n]").val();
}
**
Where n is a number that comes fro
It's fixed. I just update version of blockUI.
Thanks.
On Sep 10, 3:27 pm, gannher wrote:
> Hello
>
> I'm trying to use blockUI.
>
> It's work fine but when i want to customize the message, i see again
> "Please wait..."
>
> My code:
> $(document).ready(function() {
> $.blockUI({ message:
Hello, have a bit of a head scratcher.
What I'd like to do with the call back function is multiply td(0) by td
(3) which would then update td(5) with the result (from the current
row). Any ideas of how I could accomplish this?
any input appreciated.
thanx
I reckon you're right Nick - I'm reasonably certain that is the
problem. We are using a quite old Java content management system at
the server end, and I've already found one place where the direct
comparison you mentined is made, so I'm guessing there could well be
others within the package itsel
Hi all,
This is fed by a RSS-Feed
http://sorgalla.com/projects/jcarousel/examples/special_textscroller.html
And I want to use it with static content, no xml, no rss feed. How do
I have to change the code to do so?
I'm going crazy trying to do so, I'm sure this is something that can
be done it's
You're using an HTML parser, not an XML parser, so it isn't too surprising
that it treats some tagnames specially. It can't hurt to try an XML parser
instead:
function parseXML( xml ) {
if( window.ActiveXObject && window.GetObject ) {
var dom = new ActiveXObject( 'Microsoft
I encountered the same problem last week. It's even stranger with a
node named 'image', somehow that will get converted to img.
I worked around it like this:
[code]var iStart = data.indexOf(")/g,oSettings.rplImage
+">").replace(/(\)/
g,oSettings.rplLink+">").replace(/(\
I don't recommend patching jQuery to make it work the way you want. If you
do that, then you'll have to re-patch it every time you upgrade. Also if you
find a plugin you want to use, it may not work because it isn't compatible
with your custom version of jQuery.
Instead, bite the bullet and modify
That won't work. Try this test:
alert( "" + null ); // "null" - but we wanted ""
This would work:
$('#verMailDate').attr( "value",data.verMailDate == null ? "" :
data.verMailDate );
Or if it's OK to treat 0 the same as null, this simpler code would work:
$('#verMailDate').attr( "value",data.v
86 matches
Mail list logo