Dear folks,
does any one know how could we have a nested sortable treeview , as
what jorn has did !!
Regards Pedram
http://www.ginasong.ch/kinderhilfe/chosica.html
the lightbox plugin on
iMac Intel, OS X 10.4.11, OS X 10.5.4, 10.5.5 on Safari 3.1.2
is not working. I dont have a clue why, because I dont see any
errors...
thx
thomas
ok, i found it:
$.isFunction(callback) callback();
thats all!
On 24 Sep., 16:55, casavecchio [EMAIL PROTECTED] wrote:
Hello jquery-Group,
i would like to integrate a callback into the lightbox-plugin. May
somebody can give me a hint how to do that? I dont need all the image-
stuff from
Hello!
Sorry for the n00b post, but i've come to a dead end. I'm trying to
write an ajax callback to a Ruby script that does a simple database
update. I'm having trouble with the syntax I think. Here's what I've
been trying:
$(#jLink).click(function() {
$.ajax({
Could somebody help me in this issue.
when I am on landing page I have two questions to be answered . When
I click on 2nd ques which is radio button i will be shown with other
remaining questions.
So from 2nd page when i click on link which takes me to homepage I
want that exact page which i
Hi. My name is Craig and I am a copywriter for an African travel company
based in Cape Town, South Africa. I have no web development background,
however my girlfriend is a photographer and after seeing how much developers
wanted to charge her for a simple gallery based site, I decided to give it
Thanks so much for taking the time to respond. I'll create a link and
post. I've just created a working version using background colors...
http://www.mauihospitalfoundation.org/beta/ci/
... site is beta and all that blah blah.
The main page (url above) is superfish. All the pages linked from
Yeah
It's right!
Haha
Hi,
I got some buttons to show the prev/next image or to close it 'cause
it is allready big, in front of the others and draggable.
This code works in every browser except for IE. IE doesn't go through
the function of animate(). so he doesn't remove the div and the first
image doesn't get
I am having difficulties with IE6 and IE7 not invoking the click
function correctly. I have to click twice to get it to fire.
test case:
http://dev.dreimorgen.com/test.html
with IE6 or IE7 click on item1 once then on the Item 1 content
link. Repeat the process once more and it should toogle the
Hi,
I'm using validation plug-in in our application for customers from
Russia. I need to set russian messages for all customers from all
places in the world. How can i do that? Messages are in localzation/
messages_ru.js.
Regards
Mateusz Wolsza
Hi,
I have this line
frames['results'].location.href =
in my code.
Can someone perhaps tell what this line would look like when I want to
use jQuery to change the src of an iframe-element?
Excellent example thanks so much for this. I'll hopefully be able to
glean what I need from this.
Aloha,
Colin
On Sep 22, 3:39 pm, Joel Birch [EMAIL PROTECTED] wrote:
This sort of thing requires a good knowledge of CSS and althoughSuperfishis
well suited for powering these menus, it is out
I am having some problems with that bit of code.
Basically I am launching a popup window and this is my js file -
$('a[rel=email_page]').click(function(){
window.open(this.href,'mywindow','height=580,width=400,scrollTo,resizable=0,scrollbars=0,location=0','false');
return false;
});
Hi Rick,
I have tried to to set z-index: 99 to the top menu and 0 to the bottom
but still have the same effect...
Thank you.
On Sep 24, 8:11 pm, Rick Faircloth [EMAIL PROTECTED] wrote:
Hi,Ilya...
Trying increasing the z-index on the top menu and see if that helps.
Rick
-Original
Thanks Eric about the fadeIn() params that was careless of me but it
doesn't seem to have made a difference... :(
btw the div has no padding and ive tried resizing it down to 50px and
it still doesnt fit
man i really hate IE sometimes...
On Sep 25, 12:43 am, Eric [EMAIL PROTECTED] wrote:
and by sometimes i mean all the time :)
On Sep 25, 10:18 am, Alex Weber [EMAIL PROTECTED] wrote:
Thanks Eric about the fadeIn() params that was careless of me but it
doesn't seem to have made a difference... :(
btw the div has no padding and ive tried resizing it down to 50px and
it still
The alert just shows the contents of the Ruby script. I've updated the
script to be just:
#!/usr/local/bin/ruby
unless ARGV.length 0
puts you must provide a valid value
exit
end
return ARGV[0]
but that is all that is returned. It returns the script contents
instead of the
Hi there,
When using the excellent tablesorter plugin, I need to intercept the
click event to remove irrelevent rows from the table before the
columns are sorted (and put some back after sorting).
The sortStart/sortEnd callbacks are called at the right time but how
do I find out which cell
Hey Mateusz,
I've worked with the validation plugin a bit (I'm implementing it for
a bank), so I may be able to assist you.
Do you have a URL I can look at?
- Justin
On Sep 25, 5:12 am, matma [EMAIL PROTECTED] wrote:
Hi,
I'm using validation plug-in in our application for customers from
Hi, I am unable to select the input filed based on ID, i am using JSF
and that append form id with the input id automatically.
like this and
input type=text id=test:name how to select input
id(test:name) in jQuery the input field whose id is test:name
The, complete code is given
Hi All,
I have a maddening issue that I cannot seem to get my head around.
I have written a form in which, if you select a certain radio button,
it will toggle additional fields. The code I've written is:
//form40 coapp yes/no toggle function
$(document).ready(function() {
// hide on DOM
In the sortStart and sortEnd events, this is a reference right
to the table cell itself, so you know which was clicked
I can't see any problems with that script.
What do you think is wrong with it?
On 25 Sep., 06:02, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hello!
Sorry for the n00b post, but i've come to a dead end. I'm trying to
write an ajax callback to a Ruby script that does a simple database
I didn't realise .nextAll existed!
I was using this -
$(dt.solution).click(function() { // This is for toggling multiple
dd elements
var obj = $(this).next(); // when you click
dt.solution
while (obj.is(dd)) { // it
Try an underscore in the ID instead.
Looks like jQuery is getting confused with the colon being a selector.
$(#test_name).mask() should be good enough
On Sep 25, 11:28 pm, Faisal Basra [EMAIL PROTECTED] wrote:
Hi, I am unable to select the input filed based on ID, i am using JSF
and that
Straight from the Docs (http://docs.jquery.com/Selectors)
Note: if you wish to use any of the meta-characters described above as
a literal part of a name, you must escape the character with two
backslashes (\). For example:
#foo\\:bar
On 25 Wrz, 15:38, Justin Kozuch [EMAIL PROTECTED] wrote:
Hey Justin,
http://193.201.136.69/ecod_test_ru/InfoSeller.aspx
It's a very simple test page, with very simple validation, but it
definitely shows what i'm asking about. I guess when You'll look at
this site, and hit Send, You'll see: This
Object Oriented / PHP5 - Possible BUG with Jquery
Hi Folks
I was creating a simple singleton class (but I tested with others Desing
Patterns) with php like this:
class header {
static private $instance = false;
private function js()
{
script
The localization files can be used by just including the script after
the main file.
script src=jquery.validate.js .../
script src=messages_ru.js .../
That should be enough.
Jörn
On Thu, Sep 25, 2008 at 4:39 PM, matma [EMAIL PROTECTED] wrote:
On 25 Wrz, 15:38, Justin Kozuch [EMAIL PROTECTED]
Your document contains multiple same ids (info, info_link). This is
not valid (http://validator.w3.org/check?verbose=1uri=http://
dev.dreimorgen.com/test.html). Please correct this first (use classes
instead) and try again.
For me this is working.
Thomas
I'm just throwing out suggestions that'd I'd try, but don't have
a definitive answer.
What about applying the z-index to a specific UL and perhaps even
each LI within and see what happens.
Changing the z-index for various elements is the only thing I can
think of at this point.
Got a URL I can
I'm trying to validate that someone has selected a file for upload
before submitting a form. I set the required class on the input
element, but it's not being validated. The regular text input is
validated, however.
form:form id=pictureform commandName=pictureCommand
Hi, i am new to Jquery.. i have a query here.
let say that i want to pass the variable parameter parameter var
$.post.. if i have any special character in the parameter, all the
character after the special character are not been pass..
var parameter = abcdefg??abcdefg;
$.post('process.php',
Hi Folks,
I'm interested in having multiple instances of tabs on a page/pages
throughout a site and on the same page without using an iFrame.
The tabs function is cool. I'd like to pass it a different base
class, so that basically I have tab controls of different styles on
the same page.
So whan can I use to find attribute instead of a.textContent||
a.innerText||jQuery(a).text() ?
On Sep 23, 6:49 pm, Eric Martin [EMAIL PROTECTED] wrote:
I recently posted about a custom jQuery selector to do a case-
insensitive exact
Well, I tried this, but again it is not working, I really must be
missing something.
All I want to do it be able to click the link inside the iframe, and
have it append some HTML into the parent, and apply a click event as
well, that is all, seems simple! :)
My test page:
Hi!
Could you rephrase your question?
On Sep 25, 4:14 am, Reddy [EMAIL PROTECTED] wrote:
Could somebody help me in this issue.
when I am on landing page I have two questions to be answered . When
I click on 2nd ques which is radio button i will be shown with other
remaining questions.
Incorrect markup may be the cause of your issues:
1. IDs should be unique, you have many repeated IDs. CSS works
alright, but JS will certainly be confused
2. you can't have a div (block element) inside an a (inline
element)
3. you have to close your link / tags
Or let her hire a developer! ;)
Per my own post having to do with jQuery competing with other js
files, yes it would seem to be a known issue. Here is the link that
was provided to me for trying to solve the conflict and be able to
keep all js files on the same page:
http://docs.jquery.com/Using_jQuery_with_Other_Libraries
This is the popular bug wherein Safari refuses to hide elements.
Environment/code setup:
- JQuery 1.2.6.min
- Hidden elements exist in root html file as:
div id=cardsContainer/div
- Hidden elements initial style is declared as:
#pageContentContainer #bodyContainer #cardsContainer {
Anyone know of a plugin that offers functionality like this?
http://en.wikipedia.org/wiki/Image:Smarttags.PNG
Rey...
i know that .serialize will encode it to a url safe character, but
what if i decided not to use serialize, as serialize would not allow
multiple selection for Option..
I wish use groups option to display a single message for multiple
elements, but with metadata behavior.
Something like that:
input type=text name=t1 class={groups: { g1: t1 t2},
requered:true, number:true,messages:{required:'Please a
text.',number:'Please only numbers!'}} /
input type=text
Thanks for the hint Thomas.
I revised the code so that it validates correctly now. And I stripped
it down to a minimalist version to show my point.
Click item 1
- toggle link appears
click on toggle link (IE6/IE7 do not toggle the content whereas Safari
FF do on the first time)
Click item 1
Were you thinking that there might be a better way to do that with
jQuery? Your code looks just about perfect the way it is.
The only change I would make would be to simplify it a bit:
frames.results.location =
It would be hard for any JavaScript library to improve on that. :-)
-Mike
I have
absolutely!
www.weberseguros.com/productos.php
its the div with the border on the bottom with contact details... when
you click on any product link it expands and when you click on the
Volver al Menu de Productos link its supposed to shrink back to its
original size...
im considering just
Unfortunately I need to continue to include the LightWindow and the
like because they are being used by other applications on the site
(and it is a work project that I don't have final say on).
As for that link, good stuff! It solved almost all my problems, but I
think I am running into another
Hi all. I'm building a form which contains 4 sub-forms available like tabs.
I'm looking for examples about how to integrate jquery tabs with form
validation plugin.
Cheers
Marco Antonio
Michael,
In case you need it:
$('#frameid').attr('src','http://');
or
$('iframe').attr('src','http://');
You have to access the parent's iframe element, not the iframe
document to do this. You could use $(frames['frame'])[0].location.href
but that's an absolutely unnecessary waste of
I tried this and it did not give any of the li's a z-index. I even
placed the function inside the document.ready function. Here is what I
changed the function to read as:
jQuery('ul.sf-menu li').each(function(i){
jQuery(this).css('z-index',30-i);
});
I did also try using '#sf-menu li'
Is this line
$(#message).get(0).value += window.opener.location.href;
running from inside the popup?
On Sep 25, 8:48 am, Stinhambo [EMAIL PROTECTED] wrote:
I am having some problems with that bit of code.
Basically I am launching a popup window and this is my js file -
Sorry for being rude and I know you didn't ask for design tips, but
why on earth is that banner image inside the first list item? This is
a clear example of misused jQuery aiding poor design, you should be
very happy it works the way it is! :D
But seriously, there is no need for the fade effects
I have no clue on the PHP side of this, but try this script instead:
script type=text/javascript
$(document).ready(function() {
$(#out).click(function(){
$('form').submit();
return false;
});
});
/script
On Sep 25, 11:40 am, Mario Moura [EMAIL PROTECTED] wrote:
You can try this thread:
http://groups.google.com/group/jquery-en/browse_thread/thread/26925831a8b2b09e
On 24 sep, 21:44, Ilya [EMAIL PROTECTED] wrote:
Hello,
I'm trying to use Superfish v1.4.8 with two menus located one under
another. Everything looks almost great except for IE6 -- the
Are the new releases of jquery backward compatible with the old code?
Are there any roadmap for jquery? I haven't found any ... For instance
will jquery 1.3 support old 1.2 or 1.1 code ?
Have you ever faced with the problem of a new browser and your written
code not working in it?
Thanks in
Hello,
I am trying to implement a code that will load a banner zone from
openx (openx.org), AFTER the rest of the site loads. I have the
invocation code (either javascript or php) but when I am calling the
code from a local file, for example testban.php (the php version), The
page loads but when
I ran into something like this myself but I can't remember if it was
with IE or Firefox . . . it ended up being the page was having an
issue with the favico not being set -- for some reason the code combo
I had was causing that page to be submitted twice. Look into that
possibility if you don't
I am experiencing an undesirable behavior when click on an object
while it is sliding down.
I hosted a test case and you can see the problem at:
http://www.maujor.com/temp/jquery/
Thanks for any help
You need to put the code inside the $(document).ready function, it's
not finding the iframe because the DOM is not loaded.
- ricardo
On Sep 25, 12:36 pm, hubbs [EMAIL PROTECTED] wrote:
Well, I tried this, but again it is not working, I really must be
missing something.
All I want to do it
Is there any way to control the order of multiple event handlers
registered?
If not, does anyone have an idea of how to make a form that uses
onchange to submit the form ( i.e. i don't want a submit button i just
want the form to submit when someone leaves a field, provided
everything has been
Hi Ricardo
Thanks. Works fine now! You saved my day!
Regards
Mario
NOT A BUG!! MY FAULT!
SOLVED
2008/9/25 ricardobeat [EMAIL PROTECTED]
I have no clue on the PHP side of this, but try this script instead:
script type=text/javascript
$(document).ready(function() {
Ok, I was wrong, it is working. I happened to be on a page where there
was another error having to do with the Superfish declaration that was
causing problems. Still working on that other issue with jQuery
conflicting with LightWindow (Joel has already responded to that
post).
As a side note, I
hey thanks for bringing that to my attention about the image, fixed
now.
although i'd say you jumped the gun a little on screaming poor
design and misused jQuery...
like i said i did this website for close to nothing for a family
member (while having full-time job, uni and freelance on the side)
When you copy the content with jQuery('#content').html(content);
you're still duplicating the #item1_content_info ID, that's the source
of your problems.
I took the liberty to duplicate your page and alter the script
(working in IE):
http://ff6600.org/j/toggle.htm
or for a more semantic
oops. I was going to say something to Michael but I think I quit :D
On Sep 25, 1:42 pm, ricardobeat [EMAIL PROTECTED] wrote:
Michael,
In case you need it:
$('#frameid').attr('src','http://');
or
$('iframe').attr('src','http://');
You have to access the parent's iframe element, not the
Could you post a testpage? Usually file inputs work just fine, see
this demo: http://jquery.bassistance.de/validate/demo/errorcontainer-demo.html
Jörn
On Thu, Sep 25, 2008 at 4:03 PM, Adam [EMAIL PROTECTED] wrote:
I'm trying to validate that someone has selected a file for upload
before
i'm up against deadline and i cannot figure this out for life of me. i
know it is simple but just starting jquery/dom exploration
lilabelinput type=checkbox /hello/input/label/li
if user clicks checkbox...i need to alert the value of the label
how do i do this..i was using .html() but it also
To start with, that html isn't valid, as you have
lilabelinput type=checkbox /hello/input/label/li
with the checkbox input ending in /, which closes the tag, hence
the hello is not inside the input tag. even if you take that
out, pretty sure that's not valid html anyways
my error:
lilabelinput type=checkbox /hello/label/li
it is just a basic example of what i have marked up
MorningZ wrote:
To start with, that html isn't valid, as you have
lilabelinput type=checkbox /hello/input/label/li
with the checkbox input ending in /, which closes the tag,
I'm guessing what you're after is just getting the value of the
checkbox. What MorningZ said is absolutely correct. I would suggest
you try:
liinput type=checkbox value=hello //li
Then in jQuery:
$(:checkbox).click(function(){
alert(this.value);
});
On Sep 25, 1:53 pm, MorningZ [EMAIL
I've been playing around with this, but I can't come up with a good
solution. It seems like I can only break another thing when I fix one.
On Sep 24, 4:24 pm, illtron [EMAIL PROTECTED] wrote:
I think I'm pretty close to getting this to work, but it's not quite.
This is essentially tab
This isn't, yet, supported. You'd have to read the metadata manually
and initlize the plugin based on that.
Jörn
On Thu, Sep 25, 2008 at 5:34 PM, Alexsandro_xpt [EMAIL PROTECTED] wrote:
I wish use groups option to display a single message for multiple
elements, but with metadata behavior.
There are examples for ajax validation here
http://jquery.bassistance.de/validate/demo/milk/ (username, email) and
here: http://jquery.bassistance.de/validate/demo/marketo/ (email)
Jörn
On Thu, Sep 25, 2008 at 7:32 PM, Web Specialist
[EMAIL PROTECTED] wrote:
Jorn makes a very good job with form
Not at the moment. If I put it inside this -
$('a[rel=email_page]').click(function(){
window.open(this.href,'mywindow','height=580,width=400,scrollTo,resizable=0,scrollbars=0,location=0','false');
return false;
});
the popup comes up but the parent also loads the form and no URL gets
actually what i'm after is the label hello
so if the checkbox is checked, i'd like to alert the label, which is hello
tlphipps wrote:
I'm guessing what you're after is just getting the value of the
checkbox. What MorningZ said is absolutely correct. I would suggest
you try:
Uhmmm
I ask that becouse I had a PHP framework where in your View layer I
wrote something like that:
plabelDate:/label{input type=text name=dtnasc
value=$dtnasc mask=99/99/ validate=[(required:true,
dateITA:true, messages:[(required:'Favor preencher este campo!',
dateITA:'Favor preencher com
Here's some quick and dirty (and working) code
http://paste.pocoo.org/show/86213/
A draft of what I was referring to:
var groups = {};
$(#myform input).each(function() {
var metadata = $(this).metadata();
if (metadata.group) {
groups[this.name] = metadata.group;
}
});
$(#myform).validate({
groups: groups
});
Untested.
Jörn
On Thu, Sep 25, 2008 at 9:36 PM,
sorry for the double post, not sure how that happened.
ricardo, your code is missing a closing ) at the end. it should be...
$('b').wrap($('a href=#/a').click(function(){
alert(foo);
}));
your element creation: $('a href=#/a')
is equivalent to the shorthand i used: $(a href='#'/)
in either
there is no $(document).write() function, I think you mean $
(document).ready() right?
On Sep 25, 12:43 pm, Ditikos [EMAIL PROTECTED] wrote:
Hello,
I am trying to implement a code that will load a banner zone from
openx (openx.org), AFTER the rest of the site loads. I have the
invocation
Events are executed in the order which they are bound.
$('').click(function(){ a };
$('').click(function(){ b };
will always occur in order a,b for the same event. You could write
some code to change it but it's not a simple task.
- ricardo
On Sep 25, 2:52 pm, chadmichael [EMAIL PROTECTED]
perfect. got it to integrate swimmingly. thanks
c.s
MorningZ wrote:
Here's some quick and dirty (and working) code
http://paste.pocoo.org/show/86213/
--
View this message in context:
http://www.nabble.com/get-html-of-check-box-tp19675962s27240p19677870.html
Sent from the jQuery
here's my code:
$(document).ready(function() {
$(window).bind(resize, function(){
iframesize();
});
function iframesize(){
wheight = $(window).height();
// wwidth = $(window).width();
$('iframe').height(wheight - 30);
// $('iframe').width(wwidth);
};
iframesize();
});
The ready function fires when the iframe is ready in the DOM, not when
the contents of the iframe are ready. I think you need to use the load
function - a bit like this:
$(window).load(function () {
$('#test',
Will the .parents() method always return in hierarchical order? Say I
have:
ol id=outer
li
ol id=inner
li
a id=target/
/li
/ol
/li
/ol
If I do $(#target).parents(ol).eq(0), will I *always* get #inner,
or is the order of the resulting jQuery matched elements
I'm trying to check if a form has been filled out properly before
enabling the Next button. Unfotunately, when I call the method
jQuery(#myForm).valid() the error messages are all triggered.
I want the error message in there because I want the user to be able
click the disabled next button and
I don't have a lot of experience with javascript and jquery so this
question may have an obvious answer that I missed.
I have a combo box in jquery that I need to get the number of list
items from. I used the following syntax to get the number of items in
the list (based on some searching I
Hi Ricardo,
Grato pela resposta.
Você é bem ativo na lista heim!
Sorry didn't work. :-(
The method stop(), stops an animation.
I need disable the click event while the animation is running.
Abraço
Mauricio
-Mensagem Original-
De: ricardobeat [EMAIL PROTECTED]
Para: jQuery
Hi all, I am pretty desperate on this issue. Anyone encoutered this
before?
Thanks for anything you can offer!
On Sep 25, 10:04 am, urbolutions [EMAIL PROTECTED] wrote:
This is the popular bug wherein Safari refuses to hide elements.
Environment/code setup:
- JQuery 1.2.6.min
- Hidden
Gave you ruled out jQuery as the problem?
if
document.getElementById(cardsContainer).style.display = none;
doesn't work, then the problem is with Safari's dealings with your
design/layout
have you ruled out jQuery as the problem?
if
document.getElementById(cardsContainer).style.display = none;
doesn't work, then the problem is with Safari's dealings with your
design/layout
On Sep 26, 7:08 am, MorningZ [EMAIL PROTECTED] wrote:
So I tried the standard way:
document.getElementById(emplist).length
that *should* be
document.getElementById(emplist).options.length;
*Should*? The HTMLSelectElement has a length property that is the
number of options in the
hello all, i'm allowing users to append and remove divs at will. the divs are
numbered. if there are 5 divs and user removes div #2 i need to subtract 1
from divs #3,4,5 so that they become divs #2,3,4.
here is my appending code:
$('#schematics_main').append(div id='hotspot_ + total_hotspots
Well, your W3C specifications none the less, when you get a select
element by a jQuery selector, you have a wrapper around the select
(ie/ parent) element itself, and as you are finding out,
length (http://docs.jquery.com/Core/length) or it's equivalent
size will return 1 because that's all it
After submittinh home page I will be redirected to next page . So Upon
clicking Start again I should be redirected to HomePage with only two
questions to be displayed instead of all.
On Fri, Sep 26, 2008 at 1:45 AM, ricardobeat [EMAIL PROTECTED] wrote:
Hi!
Could you rephrase your question?
Now I'm completely lost. Could you post a test page?
So where exactly is $(#message).get(0).value +=
window.opener.location.href; running?
On Sep 25, 4:29 pm, stinhambo [EMAIL PROTECTED] wrote:
Not at the moment. If I put it inside this -
$('a[rel=email_page]').click(function(){
It doesn't work for you because my code is not missing a ), actually I
made a mistake on rewriting it. I'm assigning the click handler to the
'b' element which was wrapped, it's not inside the wrap function. It
should read:
$('b').wrap('a href=#/a').click(function(){
alert(foo);
});
The
Oh, that's right.
But I think the best way would be
$(document).ready(function(){
//theother code blabla
//now that the iframe element exists
$(frames.testframe.document).ready(function(){
});
});
On Sep 25, 4:56 pm, Paul Mills [EMAIL PROTECTED] wrote:
The ready function
Yes, it will always be in hierarchical order. There are at least two unit
tests that cover this:
http://dev.jquery.com/view/trunk/jquery/test/unit/core.js
lines 1294,1295
- Richard
On Thu, Sep 25, 2008 at 3:54 PM, jasonkarns [EMAIL PROTECTED] wrote:
Will the .parents() method always return
1 - 100 of 112 matches
Mail list logo