hi Giuliano and thanks for holding on :-)
I understand your point but the infos published on the W3C website seem to
mean that border as a shorthand is retrievable:
http://www.w3schools.com/htmldom/prop_style_border.asp
On Thu, Apr 24, 2008 at 11:58 PM, Giuliano Marcangelo <
[EMAIL PROTECTED]>
You're obviously way more clued up about Javascript than me, so I'm
not even going to try & understand your code! But your question
reminds me of one I had a few days ago, so I thought I'd offer it you
in case it helps:
http://groups.google.com/group/jquery-en/browse_frm/thread/1e5bcd25972c8153#
Nevermind, I actually figured it out.
I used: ("#non_academic").append("" + folderName + "");
Where formItemId and folderName were my variables. Worked perfectly!
On Apr 24, 9:29 pm, hubbs <[EMAIL PROTECTED]> wrote:
> I would like to know how to append a new option to a select list. I
> would
I would like to know how to append a new option to a select list. I
would also need to retreive the option value and value between the
tags, and create a new option:
ghhfh
test
test
I would like to be able to insert something like test2 Both 19371 and test2 would be pulled from
va
Hi, Shaun
It's hard to know what you're getting at without an example?
The toggle event targets an element, hopefully the one you specified
when you called it ;) You can call it by class (thus, a set of
elements) and/or by the variety of selector options described in the
api docs http://docs.jqu
hi, i tryed do it
http://www.malsup.com/jquery/form/#getting-started
but my form do submit normal, and not in ajax...
so no return callback function
somebody can help-me ?
thanks
code
$(document).ready(function() {
$('#myForm').ajaxForm(function() {
Cycle needs all of the images to be in the DOM - but M. Alsup made an
'add images' option to load images after Cycle has set itself up. I
couldn't get it to work right, but I think it was my fault for trying
to be clever ;)
Thread in this group here: http://tinyurl.com/6s2e2s . It has a link
to M
Probably this can help you.
jQuery.Preload: http://flesler.blogspot.com/2008/01/jquerypreload.html
The Placeholder Mode has a notFound option to set an alternative
image.
Also, using the onComplete event, you can do something specific for
those that failed.
Cheers
--
Ariel Flesler
http://flesle
$('div.name > input').val('value').trigger("keypress", [{
preventDefault:function(){},
keyCode:13
}]);
or in the handler:
$('div.name > input').keypress(function( e, keyCode ){
keyCode = keyCode || e.keyCode;
...
...
});
...
...
$('div.name > input').val('value').trigger( "keypre
Check out this FAQ entry:
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F
Karl Rudd
On Fri, Apr 25, 2008 at 7:50 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hey, Here's an outline of what I'm trying to accomplish:
>
> 1) Clone
Thank you. That is exactly what I was looking for.
Thanks
On Apr 23, 1:52 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote:
> This might help.http://docs.jquery.com/Tutorials:Mouse_Position
>
> I also whipped up a simple demo
> here:http://www.commadot.com/jquery/mousePosition.php
>
> Glen
>
> On We
Hi Shawn,
got it with:
$(this).parent().siblings(".boxcontent").hide();
thanks...
On Apr 24, 1:54 pm, thekman <[EMAIL PROTECTED]> wrote:
> Thanks Shawn,
> however it is still not working for me, I presume because .boxcontent
> is not a sibling of .closeimage_left but is a sibling of id="box_1
> var cur = $( this ).css( 'zIndex');
> zmax = cur > zmax ? cur : zmax;
You could also say
zmax = Math.max(zmax, this.style.zIndex);
I *think* should also work to replace that whole block of code, if you
prefer a functional approach:
$( this ).css( 'zIndex',
Math.max.apply(null,
Hi all,
For awhile now I have used a simple onerror check to show an
alternative if an img url is broken in the page. Something as shown
below. Problem with this script, it will produce an error if the
alternative image is actually not available as well. Can any one point
me to a jquery solution
this should do it:
$(document).ready(function() {
$('div.adminMsgSummary dl:not(:first)').hide();
});
:-)
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 24, 2008, at 10:53 AM, cloudsteph wrote:
I think I may have been looking at this a
Hey, Here's an outline of what I'm trying to accomplish:
1) Clone one div into another...maintaining events (works)
2) Append that html into a div (works)
3) Run a search and replace on the new contents (works)
4) Keep the events (doesn't work)
Here's the code i'm using:
$('.codex-r
^AndreA^ schrieb:
Yes, href="#"...
Could it be a problem?!?
I put # just in oder to make it a link...
This is what I've got into my :
Welcome $_user!!!
Log out
why bind you not direct to the given ID, so:
$(document).ready(function(){
$("#log_out_link").click(function(){ etc...
--
Viel
Using
IE6 / WinXP SP2 / jQuery 1.2.3.pack
Given an HTML nav list...
Home
SCFox
and CSS
#navtoplist a, #navtoplist a:link, #navtoplist a:visited {
float: left;
display: block;
color: #fff;
margin: 0 1px 0 0;
padding: 5px 10px;
text-decoration:
Dear Alexandre,
if we take #id{ border: 1px solid #FF;} , border is shorthand
(convenience method) for border-top,border-right,border-bottom,border-left /
width - style - color, all in all twelve combinations.if it would
make sense for $('#id').css('border-color'); return #FF..
Karl Swedberg schrieb:
Hey guys,
Remy wrote an article about this sort of thing on
jqueryfordesigners.com the other day. In it he shows a couple
approaches that were probably better than mine, but the one he got
from me involved using .fadeTo()
this one uses two images, and it might not d
Use an iframe or read up on cross domain ajax.
--Erik
On Thu, Apr 24, 2008 at 1:27 PM, Luciano Mazzetto <[EMAIL PROTECTED]>
wrote:
>
> Hi,
>
> I need loading http request inside my div content.
>
> I do this it
>
> $("#content").load("http://www.google.com.br";);
>
> but i hadn't sucess
>
> How
Hi,
I need loading http request inside my div content.
I do this it
$("#content").load("http://www.google.com.br";);
but i hadn't sucess
How i can load this page in my div ?
tks..
I need to manipulate a text input field -- enter a text and press
"enter."
How do I do that?
$('div.name > input').val('value').trigger("keypress", ["13"]);
didn't work, obviously
Thanks.
ari
Another follow up. I ran into cases where the first few photos were
centered fine but the later ones were not. When you refreshed the page
they were all centered.
If the code is run in jquery ready() the photos may not all be loaded
yet. Fix for this is to make sure they have width and height tag
Aha, one of my favourite boolean-type if/else thingies ;)
Thanks once more, Josh - this not only works faster, it does
unexpectedly clever stuff :))
At some point I will have to do some serious optimisation on this site
- it leaks like a sub-prime mortgage investor ;) For now, though, I'm
loving
i know all this Guiliano, and according to what i've googled about
javascript style.border, it can retrieve the value if that value has been
set before, which is the case here.
in any case, if in the css, you 've set #id{ border: 1px solid #FF;}
then it would only make sense that $('#id').cs
are you preventing the default event from firing? make sure you put
return false; in the last line inside the .click()
or you can use .click(function(event) {
event.preventDefault();
etc...
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 24, 2008
Hi all,
I've got a row of five tabs and I'm using Klaus' Tabs plugin to handle
them. I want four of them to use the standard tab functionality. The
fifth and final tab is actually a link to a different page, but if I try
to click this link the page is loaded into the CURRENT page via the tab
Try:
alert(data['a']);
On Apr 24, 2008, at 9:32 AM, Ygor wrote:
>
> Hi,
>
> I'm sending an array encoded with Json in my PHP code server-side, but
> when I try to fetch it in JQuery, I don't know what is the type of the
> object I'm dealing with, and I can't get any information of it.
>
> I tr
Hi,
I'm sending an array encoded with Json in my PHP code server-side, but
when I try to fetch it in JQuery, I don't know what is the type of the
object I'm dealing with, and I can't get any information of it.
I tried to access it with object.length, object[index] and so on, but
I'm allways gett
How about this?
function initDashboard() {
$(document).ready(function() {
if($(".adminMsgSummary").length) {
$(".adminMsgSummary dl:not(first)").hide("fast");
}
}
}
Code not tested, but should work.
Carl
cloudsteph wrote:
> I think I may have been looking at thi
Hi, I am new to jQuery and is curious if this code can be shortened
down? It feels like it can, but I couldn't find any way to use jQuery
selectors if I have a specific reference to a object.
What I want to do is to find the element to the parent of "el" that
the id starts with linecolorbox. I kn
I have a subset of links that I am trying to manipulate to create a
breadcrumb with in an application. The trouble being that typically it
seems the toggle event targets a particular element. I effectively
need to only be able to add a class attrbute to only one element out
of the subset of anchor
Hello everybody. I need help with one form. I created a form which
contained data that has to be submitted both to a CRM but before the
submit, I have to send an email with the data included in the form.
As the CRM is in an external site, I can't manage the data once the
form is submitted,
How c
Cool, glad it worked! That's a nice-looking site.
One thing, I forgot to use my own optimization:
var zmax = 0;
$( '.draggable' ).click( function () {
$( this ).siblings( '.draggable' ).each(function() {
var cur = $( this ).css( 'zIndex');
zmax = cur > zmax ?
Hi Peter,
My tests confirmed the following:
1) the need to refresh all behavior after updating DOM.
Lets say you have some behavior on table and you add new rows. Those
rows will not
inherit the events and behavior already attached on table.
2)inline events on added DOM elm will not fire in IE.
Hi Peter,
My tests confirmed the following:
1) the need to refresh all behavior after updating DOM.
Lets say you have some behavior on table and you add new rows. Those
rows will not
inherit the events and behavior already attached on table.
2)inline events on added DOM elm will not fire in IE.
Hi,
> function initDashboard(){
> $(document).ready(function(){
> if($(".adminMsgSummary").length > 0){
> var theCount = $(".adminMsgSummary dl").length-1;
> for(z=1;z<=theCount;z++){
> var theDl = $(".a
Here is a start.
$('input:text:enabled, select:enabled').each(function() {
var curFieldID = this.id;
var orgnlFieldID = curFieldID + '_orig';
if( $('#' + orgnlFieldID).val() != $('#' + curFieldID).val()) {
$(this).addClass('highlightchange');
}
});
It would also hel
How do you sort a column that contains multiple tds?
Look at this example:
first name
last name
peter
parker
john
hood
Clicking on th
Never mind :)
$("#loading_icon").show();
$.post("process.asp", $('#myForm').serialize(),
function(data) {
$("#loading_icon").hide();
$("#login").text(data);
})
I think I may have been looking at this a little too long or something
to cause it not to work coz it seems like it should be pretty simple
to do, but it no work for me :( What I want to do is loop through all
the elements within a certain div and hide all of them except for
the first one. Here
Hi all,
I am new to jquery and superfish, but I am liking what I see. I am
wondering if there is a repository of superfish skins to obtain new
looks. The demo is making sense, but I see the site www.sharevault.com
uses superfish and has a different menu look.
I assume the different look is con
Argh! So simple and such a big problem when you don't know what to
do! :)
Thanks for a fast reply, the problem is solved.
Alexandre,
to access the border properties, you have to be more specific..
border has four sides, top - right- bottom - left
.
and also style, color and width properties
so to get your required cssyou need to access (as an example)
border-bottom-style . or
border-bottom-col
Ah...thought you were just correcting your post.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of KnoxBaby
Sent: Thursday, April 24, 2008 10:18 AM
To: jQuery (English)
Subject: [jQuery] Re: jQuery to create dynamic HTML-Content in a table
Like
Like I said already, the error is that it has to be 'alt' not alt
cause it's a string ;)
On 24 Apr., 16:55, "Andy Matthews" <[EMAIL PROTECTED]> wrote:
> Could it be failing on your query?
>
> jQuery(' > img', this).attr(alt);
>
> I beleive that there has to be something before the >. The way it's
Thanks.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Thursday, April 24, 2008 9:54 AM
To: jQuery (English)
Subject: [jQuery] Re: Jquery and Low Pro - an example
" Why low pro, when jquery is already unobtrusive?
Could it be failing on your query?
jQuery(' > img', this).attr(alt);
I beleive that there has to be something before the >. The way it's set,
you're saying all img tags that are the child of nothing.
jQuery('body > img', this).attr(alt);
might be better, but I don't know what you're looking fo
" Why low pro, when jquery is already unobtrusive?
* Behaviors allow me to easily name and encapsulate functionality
that I can later reuse.
* Behaviors are inheritable, allowing me to group like things
together, and avoiding writing chunks of similar code.
* Low Pro's implementation
> I am havim problems with the jquery cycle plugin (http://
> www.malsup.com/jquery/cycle/int2.html - the one titles "Callbacks". I
> modified it a bit so that it displays my, a bit larger images. Now, I
> do not want it to display the code which prints out the code needed
> the plugin to work
Argh, 'alt' not alt :)
On 24 Apr., 16:32, KnoxBaby <[EMAIL PROTECTED]> wrote:
> If i use
>
> uid = jQuery(' > img', this).attr(alt);
>
> no more code after this line is being executed :(
>
> E.g.:
>
> [code]
> $('table tr:eq(0) td:gt(0)').each(function(i) {
> // If it's a col that
If i use
uid = jQuery(' > img', this).attr(alt);
no more code after this line is being executed :(
E.g.:
[code]
$('table tr:eq(0) td:gt(0)').each(function(i) {
// If it's a col that contains an (than the has the
class
'imgg')
if($(this).is('.imgg'))
Oh, and if you modify the EXT code. Then you need to make THOSE changes
available.
But, your PHP code can be licensed however you'd like - as long as you
respect the EXT license (and PHP, and any other tools/libraries you are
using).
It does not make any sense at all that the EXT develope
Cab you provide a sentence or two explanation of what Low Pro is, and what
it does?
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sudara
Sent: Thursday, April 24, 2008 7:59 AM
To: jQuery (English)
Subject: [jQuery] Jquery and Low Pro - an exam
If Ext is GPL, then only the Ext libraries need to be GPL.
If you have code referencing Ext - that is NOT Ext, and so that specific
code does NOT need to be GPL'd.
All this means is that when you distribute your apps (sell em, give em
away, etc.), you are obligated to include the source for
> > Does it mean, that if I have PHP application, that uses javascript
> > under GPL3, I must release also PHP source?
> >
>
> AFAIK if you bundle something GPL everything will become GPL. This includes
> your PHP source.
Just an FYI, this is only for non-commercial versions of ExtJS. I
suppose
I wonder why this doesn't work, either it's a but or a flaw in the
documentation:
consider this code:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
h1 {
background-color: #FF00FF;
color: white;
border: 1px s
Hello ppl,
I am havim problems with the jquery cycle plugin (http://
www.malsup.com/jquery/cycle/int2.html - the one titles "Callbacks". I
modified it a bit so that it displays my, a bit larger images. Now, I
do not want it to display the code which prints out the code needed
the plugin to work c
Hi folks!
I wrote an article that walks through the construction of a Low Pro
behavior for jquery and explains the reasons behind coupling the
awesome low pro behavioral style with jquery:
http://sudara.modernthings.net/2008/4/23/oh-behave-the-anatomy-of-jquery-and-low-pro-behaviors
Low Pr
Thanks Shawn,
however it is still not working for me, I presume because .boxcontent
is not a sibling of .closeimage_left but is a sibling of
So, should I have to find the parent div then find the
sibling .boxcontent?
any idea how i would do this?
On Apr 24, 2:07 am, Shawn <[EMAIL PROTECTED]> wr
You have UserSubPanel as the id.
But you call it as a class.
$('div.UserSubPanel a').addClass('sideLink');
Call it by the id.
$('#UserSubPanel a').addClass('sideLink');
http://2whoa.com/dominate/
vladv <[EMAIL PROTECTED]
On Apr 24, 2008, at 2:26 PM, MichaL Sanger wrote:
Does it mean, that if I have PHP application, that uses javascript
under GPL3, I must release also PHP source?
AFAIK if you bundle something GPL everything will become GPL. This
includes your PHP source.
However if you do not bundle GPL c
The panel is asp.net Panel but if I look at generated html this is
what I see:
User Panel
Link1
Link2
$(document).ready(function(){
$('div.UserSubPanel a').addClass('sideLink');
> 1. Is jQuery 1.2.3 a requirement?
An excellent question, as I only tested with 1.2.3... but it's highly
probably that it works with older versions too. I'll try to test it out
later.
> 2. What do each of the individual files do? For example, there is a
> notice to download jQuery.idTabs.min.js
Thanks Shawn,
still not working though, i presume because .boxcontent is not a
sibling of .closeimage_left but is a sibling of .box
so would i need to find the parent div of .closeimage_left then toggle
that sibling .boxcontent?
If so, any idea how I would do it?
On Apr 24, 2:07 am, Shawn <[EMAI
Hi,
I need loading http request inside my div content.
I do this it
$("#content").load("http://www.google.com.br";);
but not OK ??
How i can load this page in my div ?
tks..
--
att.
Luciano M.
www.m2t.com.br
oups slight mistake forgot the string part in the indexOf :) here is the
correction:
$('a').each(function(){
var href = $(this).attr('href');
var separator = (href .indexOf('?')>-1) ? '&' : '?';
$(this).attr('href', href+separator+'mytracker=yes'
>
> );
> });
On Thu, Apr 24, 2008 at 2:51 PM
$('a').each(function(){
var href = $(this).attr('href');
var separator = (indexOf('?')>-1) ? '&' : '?';
$(this).attr('href', href+separator+'mytracker=yes');
});
On Thu, Apr 24, 2008 at 1:10 PM, denhamd2 <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is it possible to add the string ?mytracker=yes onto
Yes, href="#"...
Could it be a problem?!?
I put # just in oder to make it a link...
This is what I've got into my :
Welcome $_user!!!
Log out
On Apr 24, 1:08 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]>
wrote:
> do you actually have an HREF attribute to your A tag ? Because its omission
do you actually have an HREF attribute to your A tag ? Because its omission
kills the click event i think.
On Thu, Apr 24, 2008 at 1:22 PM, ^AndreA^ <[EMAIL PROTECTED]> wrote:
>
> I think it's simple but it doesn't work... to me. ;-)
>
> I want to fire an event when I click on that link inside a
Hello everybody.
I have a form which data has to be sent to a CRM (salesforce), so in
the form action I have to include "https://www.salesforce.com/
servlet/...", but I need to send emails before the form submits,
because how the form is in an external url, I can't manage the data
once the form i
I think it's simple but it doesn't work... to me. ;-)
I want to fire an event when I click on that link inside a
...
Inside of the there are:
So would be the third element but it's the first and unique
I tried something like that:
$(document).ready(function(){
$("#id_div a").clic
Hi,
Is it possible to add the string ?mytracker=yes onto the end of all
links on my page using Qjuery?
Glad to know you solved it.
On Apr 23, 4:59 pm, "s.ross" <[EMAIL PROTECTED]> wrote:
> On Apr 23, 2008, at 1:27 AM, Diego A. wrote:
>
>
>
> > Is the new link by any chance being inserted within the trigger
> > itself? (doesn't seem like it would work because the code takes the
> > href attribute f
Does it mean, that if I have PHP application, that uses javascript
under GPL3, I must release also PHP source?
MichaL
On Thu, Apr 24, 2008 at 7:16 AM, xwisdom <[EMAIL PROTECTED]> wrote:
>
>
> Yeah, the GPL 3 is viral and most open source developers don't even
> realize that once they distribut
Hi,
var selectors = "a[href$=.pdf], [href$=.rtf], [href$=.ppt], [href
$=.txt], [href$=.mp3], [href$=.xml], [href$=.exe], [href$=.zip], [href
$=.rar], [href$=.dmg], [href$=.tar.Z], [href$=.tar.gz], [href$=.tgz]";
$(selectors).not("[onClick*=pageTracker._trackPageview]").click ( //
Does stuff )
Hi,
I am trying to get a field highlighter working. I have a 2 column
layout with a form in each. The form on the left is the 'original'
data and the form on the right is newly updated. I would like to look
at each form field and compare their values and if different add a
class to highlight the
I was trying the yuicompressor on jcarousellite 1.0.1* and got this
error: “invalid property id” at line 239:
this is line 239:
li.css({overflow: “hidden”, float: o.vertical ? “none” : “left”});
What could be wrong?
* http://www.gmarwaha.com/jquery/jcarousellite/js/jcarousellite_1.0.1.js
Yeah, the GPL 3 is viral and most open source developers don't even
realize that once they distribute apps with the open source extjs 2.1
library they will have to license their apps under GPL3.
I personally prefer LGPL. The problem for me was that ExtJS did not
open source the images and style
Your functionality is bang on what I need, thanks for sharing.
Just a few questions that I couldn't get from the webpage linked to in
the original post:
1. Is jQuery 1.2.3 a requirement?
2. What do each of the individual files do? For example, there is a
notice to download jQuery.idTabs.min.js o
How do you guys test jQuery UI components? If you’re reading this,
you’re probably an expert JS developer, so you know how much the state
of JavaScript testing sucks.
Developers generally neglect JS testing because there’s really nothing
out there that let's you simulate user interactions easily
Hi,
I want to display some default date in a TextBox element.
I have bind datepicker to "startDate" with some default date On document
ready function.
jQuery('#startDate').datepicker({defaultDate: -7});
When I click on startDate input text box I do see datepicker control with
highlighted current
hi!
i needed a fix for the color plugin so taht it works with transparent
backgrounds. I found one ticket solves it:
http://dev.jquery.com/attachment/ticket/2281/rgba.diff
but i don't understand how to actually download the resulting code. Can
someone shed a light ?
thank you,
--
Alexandre
ah ok cool, thanks so far. I'm gonna try this out! If anybody has more
tipps on how to achieve my goal, just reply :) Thanks a lot!!!
On 24 Apr., 10:38, "Aaron Heimlich" <[EMAIL PROTECTED]> wrote:
> On Thu, Apr 24, 2008 at 3:31 AM, KnoxBaby <[EMAIL PROTECTED]> wrote:
>
> > E.g. I don't know how t
Hi there !
i'm working on a plugin for my application, that needs to store the current
value of all css properties of an element in the DOM.
Do i have to store each property one by one or is it possible to just copy
the entire css in one command?
I tried:
var myEl = new Object();
myEl.css = $('
On Thu, Apr 24, 2008 at 3:31 AM, KnoxBaby <[EMAIL PROTECTED]> wrote:
>
> E.g. I don't know how to combine $(this) in the each function with
> another selector.
>
> $(this + ' > img').attr('alt') didn't work to get the content of the
> 'alt' attribute (which serves to be the UID)... Same with the ti
I tried it myself but I have probs with some things. Look at the code,
I commented it:
http://nopaste.php-quake.net/26562
E.g. I don't know how to combine $(this) in the each function with
another selector.
$(this + ' > img').attr('alt') didn't work to get the content of the
'alt' attribute (wh
Hi
does this UserSubPanel is a gernal div like
div id="UserSubPanel"
or an asp.net div like
div id="UserSubPanel" runat="server"
if the second is the case than your div cannot be found because
aps.netrwrites the id to something like
wrote:
>
> Could you post the html? That would help a lot
I thought to do it perhaps this way:
-First read the header (columns). Thererfor, I have to provide
something like in it so that jQuery can read
out how many names there are and "save" their uids in an array
-Secondly: Go throught each and prove wether the first
contains a date mm.dd. (if
90 matches
Mail list logo