nick ha scritto:
one
two
three
The right syntax is :
one
If there is no "selected" then it always defaults to first value. How
can I tell if the page has loaded and no options have been selected?
This is the way the select element works, there is always a selected
element,
thank for the welcome Rick.
I posted another post about some plugin I did
http://groups.google.com/group/jquery-en/browse_thread/thread/32088c7733cb812e/4dc9cea53725aa07?hl=en&lnk=gst&q=nivanka#4dc9cea53725aa07
check it out
On Oct 24, 8:36 pm, "Rick Faircloth" wrote:
> Thanks for the plug-ins
Actually, thanks to everybody for the replies.
I think you were all basically saying the same thing in different ways
come to think of it...
On Oct 24, 11:30 pm, Nikola wrote:
> Thanks Mike, I generally understand closures and your explanation was
> very good.
>
> I think what your saying is th
Thanks Mike, I generally understand closures and your explanation was
very good.
I think what your saying is that the example "pen" object is just a
local variable to the ready callback.
Thanks for clearing that up...
On Oct 24, 10:51 pm, Michael Geary wrote:
> The concept you're looking for
Hi Jacob, the format in your 'input' is a Ruby on Rails microformat; the
"name='branch[blahblah]'" is a ruby hash. The problem could be how it is
being parsed on the server with your ruby code.
Here is short article about the use of microformats in rails.
http://wonderfullyflawed.com/2009/02/17/rai
The concept you're looking for is called a "closure". Search for:
javascript closure
and you will find all sorts of information about closures.
It really has nothing to do with jQuery or the DOM. Closures are part of the
core JavaScript language and work in any environment where JavaScript is
im
There appears to be no difference between these two when the page
loads.
one
two
three
- or -
one
two
three
$('#id').val();
If there is no "selected" then it always defaults to first value. How
can I tell if the page has loaded and no options have been selected?
Yes, maybe so: listnav is meant to be used when you want the list to be
"on" the page and listmenu for when you want it to appear like a
dropdown menu.
- Jack
rui lobo wrote:
Thanks for answering , when we mouseout the .lm-menu class it
disappear . I would like to always have the menu sh
Right, thanks, I understand how to make it a global but what I'd
really like to understand is how to access it within the ready object.
On Oct 24, 8:17 pm, MorningZ wrote:
> it's local to that event
>
> if you need it globally
>
> var pen = {};
> $(function(){
> pen = {
>
It has to be stored somewhere though...
Say, for example, we bind a handler to the click event on the BODY of
the document and we log the "pen" object to the console.
$(function(){
var pen =
{
type: "Ballpoint",
color: "blue",
it's local to that event
if you need it globally
var pen = {};
$(function(){
pen = {
type: "Ballpoint",
color: "blue",
hasInk: true
}
});
would allow you to reference "pen" from anywhere in your code
On Oct 24, 8:01 pm, donb wro
We need more info, the structure of the page, etc. You can target
selectors in many ways.
On Oct 24, 10:13 am, Daniel Donaldson
wrote:
> I am trying to have a image (link button) appear within a div on
> mousenter for the div, and disappear on mouseleave.
> I have this working in the following
That is cool =D.. great response DanDan..
I like it.
On Oct 24, 7:32 am, Andrea - Aosta wrote:
> Thank you
>
> On 23 Ott, 19:20, DanDan wrote:
>
>
>
> > That is cool... I have seen this before as JQuery but not yet tried
> > it:
>
> >http://webdev.stephband.info/parallax.html
>
> > On Oct 23,
You can't. It exists for the duration of the ready function, then
it's gone.
On Oct 24, 7:51 pm, Nikola wrote:
> Hi, I've been trying to understand a little tidbit of jQuery here...
>
> Lets say we define an object in the Document "ready" method:
>
> $(function(){
>
> var pen =
>
Hi, I've been trying to understand a little tidbit of jQuery here...
Lets say we define an object in the Document "ready" method:
$(function(){
var pen =
{
type: "Ballpoint",
color: "blue",
hasInk: true
}
});
Where in the
Hi Shawn,
Thanks for your help.
So, you're right I do want to do asynchronous. This was a mistake on my
part.
I actually do need to see the parameters in the webserver log file, so I
need to do a GET. By using GET, and the 'data' key with my data, it appears
it throws in a random number in thei
I am trying to have a image (link button) appear within a div on
mousenter for the div, and disappear on mouseleave.
I have this working in the following code as expected, but I only want
it to apply to the specific div that is being entered/left.
The way I have it right now it applies to the clas
This works fine in chrome and firefox but does not in IE6. i am yet to
try it out in IE 7. As you can see, i have an input field and when
user enters a value and clicks on Save, Jquery $("span.saveLink").click
(function() gets invoked which populates the SaveUserForm(pls note my
input field is out
Hi,
On touchstart and touchmove event, the event object has touches and
targetTouches properties (see http://bit.ly/Q6uOD), however the
jQuery.Event doesn't seem to copy these properties.
I tried adding them to $.event.props like this:
$.each(['touches', 'targetTouches'], function(){
Hey all:
I am in the process of developing a completely free site. I want to
throw a 80x15 jQuery button with linkback on the site to give the team
the respect they deserve for this awesome library. I have yet to find
one. Can any one point me in the right direction? Thanks!
Thank you Brian!!!
On Oct 24, 5:08 pm, brian wrote:
> var currentId = $(this).attr(’id’);
> $('#another-id-'+currentId).show();
>
> (don't forget the # before the ID)
>
> On Sat, Oct 24, 2009 at 4:50 PM, lukas wrote:
>
> > Based on the ID of a clicked element I would like to show another ID:
>
var currentId = $(this).attr(’id’);
$('#another-id-'+currentId).show();
(don't forget the # before the ID)
On Sat, Oct 24, 2009 at 4:50 PM, lukas wrote:
>
> Based on the ID of a clicked element I would like to show another ID:
> var currentId = $(this).attr(’id’);
> or var currentId = this.id;(
Based on the ID of a clicked element I would like to show another ID:
var currentId = $(this).attr(’id’);
or var currentId = this.id;(?)
$("another-id-(how can I include here currentId?).show();
Thanks for your help!
I've created this:
http://strucke.com/provinggrounds/jqueryGmaps/defect.html
I've found a very odd defect: If you have two markers, with identical
coordinates (which happens quite often in the application I'm using
this for), the underlying marker (and infowindow) stays hidden, and
the infowindow
Hi,
I'm trying to load images off a html page through the load() method
but i want to load them through there index eg. img[0] how would i
achieve this..? Thanks in advance.
your hoverIntent.js file is an html file with a js extension
looks like you copied and saved a demo html page and turnedit into a js
file
change it out with the hoverIntent.js download file
Matt wrote:
Hi,
I'm trying to implement superfish onto a wordpress site I'm working
on, but just
hard to make solid suggestions without seeing implementation...link
would help
have you tried setting width to UL's?
Chintu wrote:
I use Superfish Menu with Nav-Bar option on a Joomla site. I would
like to increase the width of the second level (sub-menu) width so
that it fills up the en
Thanks for the plug-ins, Nivanka
and welcome to the list! :o)
Rick
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Nivanka
Sent: Saturday, October 24, 2009 12:46 AM
To: jQuery (English)
Subject: [jQuery] new to this list
Though I am
My second example isnt right. the selector should include the TD [e.g.
$("table tr:lt(endy):gt(starty) td") ] and after further testing, it
performs reasonably well except: the lt/gt is non inclusive and I cant
access the first row using gt(-1) as it is zero indexed.
Michael,
Thanks a lot for that clue ... I went to jQuery docs and finally, I
used jQuery.noConflict() ...
It worked now ...
There was no secret ... I use this slideshow ...
http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider
Thanks again ...
B.
On Oct 24, 4:51 am, Mic
> $('#formid>input').each(function(){
> if($(this).attr('id')!='') alert($(this).attr('value'); //fetch id if
> not blank ang show value
>
> });
>
> the code inside this function does not run if the form is rendered
> this way:
>
>
>
>
>
>
>
>
> but if it is rend
Im trying to manipulate a subset of a table and selecting the elements
with my poorly written jquery is orders of magnitude slower than a
simple direct DOM access of the elements using
for(y;...)
for(x;...)
table.rows[y].cells[x]._do stuff_
I know both the starting and end
Dear All,
I have an object with mouse over and mouse out events. It fires
display certain other box (almost like tooltip):
box.fadeIn("slow")
box.fadeOut("slow")
It works absolutely fine unless mouse passed over the object without
intention to stop. Then it triggers full scenario, complete fadi
Though I am new to this mailing list, I have been a jquery user for
some time now. and have published some plugins for the community on
the jquery website as well as on my company website
http://open.whynotonline.com.
I would like to join the jquery community to build more connections
with the d
Here is the scenario
I have a div element which which acts like container to other elements
in my page
Now in a javascrpt method i do this
// Cloning the above container
var htmlClone = $("#container").clone();
// Trying to see if it is cloned
alert(""+htmlClone.html()+"");
// Tryin
I published this plugin sometimes back.
Its main purpose is to provide a solution to style select boxes as
needed. This is impossible with pure HTML and CSS. Also though FireFox
working with the transparencies IE doesnt do it well. And on IE 6 the
selectbox appears on top of each z-indexs.
By th
Thank you
On 23 Ott, 19:20, DanDan wrote:
> That is cool... I have seen this before as JQuery but not yet tried
> it:
>
> http://webdev.stephband.info/parallax.html
>
> On Oct 23, 9:46 am, Andrea - Aosta wrote:
>
>
>
> > At this URLhttp://www.smsbig.it/ityousee an effect build with
> > mootools
Hi!
I cant get this each function to work inside a form:
for example i have this code:
$('#formid>input').each(function(){
if($(this).attr('id')!='') alert($(this).attr('value'); //fetch id if
not blank ang show value
});
the code inside this function does not run if the form is render
Thanks for answering , when we mouseout the .lm-menu class it disappear
. I would like to always have the menu showing until we click another
letter. similar to list nav. Maybe it's just better to use listnav.
Rui Lobo
R.Solve
2009/10/24 Jack Killpatrick
>
> HI,
>
> Glad you like the
btw, if you are trying to track stats, have you looked at Google
Analytics or Piwik?
http://www.google.com/analytics/
http://piwik.org/
Shawn
Ryan White wrote:
Hey All,
So I am having a weird situation when using the $.ajax method. And have
a couple questions regarding this. What I am do
Your URL is the culprit. And the way you are passing data.
Doing http://myserver.com/index.gif?id=1&event=e is a GET request - the
params are on URl directly. If you want this data to appear in the POST
then you need to pass them right:
$.ajax({
async: false,
type: 'POST',
url: 'myse
Hey All,
So I am having a weird situation when using the $.ajax method. And have a
couple questions regarding this. What I am doing is basically just using
this AJAX call to send a 'pixel' back to my server so I can collect stats on
events. This event fires once every 30 seconds.
$.ajax({
42 matches
Mail list logo