Hi,
I am new to jquery and I have some code that I wrote that loops over some
records from my database and at each iteration of the loop (a coldfusion
loop, either way same concept) I want to create a few buttons that the user
can click to do things. Each button will be unique by appending a
I don't know how to handle
class={title:'test'}
it's out of the mb.extruder plugin
div id=extruderLeft class={title:'test'}
div class=content
div class=voice {} logo /div
div class=voice
This is utilizing the metadata plugin for jQuery. It handles that sort
of stuff.
Sent from my iPhone
On Jan 20, 2010, at 3:34, fran23 f...@lavabit.com wrote:
I don't know how to handle
class={title:'test'}
it's out of the mb.extruder plugin
div id=extruderLeft class={title:'test'}
Hi ...
Supposed I have table like this
idnameaddressaction
--
s1n1a1delete
s2n2a2delete
delete is a link for example `a href=http://localhost/student/delete/1;`.
In the real case I delete the
This should do your work. Get a try
$(document).ready(function() {
$(a).click(function(event) {
alert(As you can see, the link no longer took you to jquery.com
);
var href = $(this).attr('href');
alert(href);
event.preventDefault();
Got it working now, but thanks!
Turned out my backend wasn't returning right. Human error we'll call it ;)
On 19 Jan 2010, at 20:22, Nathan Klatt wrote:
On Sat, Jan 16, 2010 at 6:42 PM, Scott Wilcox sc...@tig.gr wrote:
Pastebin of code: http://pastebin.com/ma643a4e
Hiya Scott,
What's
Hi,
I want to add a live event on a function.
My function is:
$(#family).click(function(){
$($(#tag).val()).css(font-family, $(#family).val());
});
I've tryed to add it like this:
$(#family).live(click, function(){
$($(#tag).val()).css(font-family, $(#family).val());
});
but I get a
How about making a variable out of $(#tag).val() and using that
for the css variable?
$('#family').click(function() {
value = $(this).val();
$('#tag').css('font-family', value);
});
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Hi all,
Can someone confirm that this list is moving from Google to Zoho Discussions?
With the recent spate of cyber attacks I try to confirm emails like the one I
got over the weekend to register at Zoho.
Thanks,
Doug
yes, they've moved for a variety of reasons...the link provided in the
email gave insight to the process.
On Jan 20, 8:03 am, Knight, Doug dkni...@mitre.org wrote:
Hi all,
Can someone confirm that this list is moving from Google to Zoho Discussions?
With the recent spate of cyber attacks I
Here is the plugin
http://plugins.jquery.com/project/metadata
in your example of
div id=extruderLeft class={title:'test'}
var x = $(#extruderLeft).metadata().title;
console.log(x);
would show test in the Firebug console
On Jan 20, 4:34 am, fran23 f...@lavabit.com wrote:
I don't know how to
How should I use it right?
there doesn't seem to be anything wrong with your syntax (with the
.live part anyways, your usage of .val() has no impact on your
issue) got more code to show? are you using at least the 1.3.2
version of the library?
also take into account that id's on the page
hello
these days i am also working on same and trying to hide few of the div
inside the iframe of some other domain. just wanted to know can you
help me with the solution.
Thanks
i spent about several days trying to figure out hot to save state of
open forms.
In my web page I have a jquery treeview tool, when I click form is
loaded into the #form div.
$(document).ready(function(){
$('#treeview').click(function() {
$('#form').load('../forms/inputdata.php');
});
This is a little baffling to me. I can get the selected value (val
attribute) on an option element, but only by using the following
method:
var selectedId = $(#mySelectElement :selected).val();
This is great, but all the examples I have read simply do the
following:
var selectedId =
spent about an hour trying to figure out why a form I was loading to
a web page was not updating.
In my web page I have a navigation button tool, when I click I want to
load a form into the #display div.
$(document).ready(function(){
.. a bunch of code.
$('#menu
This should do the trick:
$('#iframeId').contents().find('body').append('stuff');
On Tue, Jan 19, 2010 at 10:31 PM, pablo pablo00...@hotmail.com wrote:
Hi,
I need to insert HTML in an iframe. This works in IE but not in
Firefox:
$(this.iframe).append(phello/p);
What is the problem in
The syntax is wrong, should be :checked.
On Jan 19, 10:31 pm, Jeff fnd...@gmail.com wrote:
Hi,
I have the following code to ensure at least one report checkbox is
checked on my page
if ($(input[type='checkbox'][checked]).size() == 0)
{
$(#error).css(color,
Hi Rory,
You need only the expandAll() plug-in:
$(function() {
$(#outer).expandAll({trigger: span.expand, ref: div.demo,
showMethod: slideDown, hideMethod: slideUp, speed: 600});
});
Regards,
Adriana
Rory Bernstein wrote:
Hello,
I am a total jQuery novice, and I tried to use
No error bat if i insert a valid captcha, show label error with '1'.
If i insert a fake captcha, show label error correctly.
The part of code is:
antispam_captcha: {
required: true,
remote: /metwit/comuni/action.php
On Wed, Jan 20, 2010 at 12:34 AM, Mateo matthew.kim...@gmail.com wrote:
var selectedId = $(#mySelectElement).val();
Returns the value of the select element but you want the value of the
selected option element under the select, hence:
var selectedId = $(#mySelectElement :selected).val();
Thanx Rick and Morning Z. I've change it and it works now.
Thanx again
Hi,
I am trying to make a form to run a function on keyup, keydown.
The markup is:
select id=family
option value=Georgia label=GeorgiaGeorgia/option
option value=Times New Roman label=Times New RomanTimes New
Roman/option
option value=HelveticaNeue-Light label=Helvetica
There appears to be a bug in the jQuery 1.4 implementation of
replaceWith. If you try to replace an element with just plain text,
jQuery removes the element altogether and does not swap in the text.
It works fine if the text is surrounded by tags. For example:
div id=foothis is some text/div
On Wed, Jan 20, 2010 at 8:43 AM, teknoFX shmuel...@gmail.com wrote:
There appears to be a bug in the jQuery 1.4 implementation of
replaceWith. If you try to replace an element with just plain text,
jQuery removes the element altogether and does not swap in the text.
From the replaceWith
Hi,
I will explain my use case here.
I am new to JQuery and I am currently working on listing Dynamic Tree list
by using JQuery column navigation plugin.
Please refer the following link to check the plugin demo page: (Note: The
demo is not a dynamic tree list)
This is not a bug, if u want to replace data contained on the element, you
can use operator $(element).html('any html or text');
*Email: bobo...@gmail.com
ICQ: 382081663
Skype: evgeny_bobovik
Gk___*
As I know, for each new jquery version released new jquery ui version, find
jquery ui 1.8...
*Email: bobo...@gmail.com
ICQ: 382081663
Skype: evgeny_bobovik
Gk___
*
Hello,
Completely new to jQuery. I am trying to use the corners. I have it
only half working and sure there is something simple I am missing.
When I implement a corner on a div. It is only applying to the top
corners. I have tried adding br to the code, but it does not show
up. Here is the way I
function setFamily() {
$('#family').css('font-family', $('#family :selected').val());
}
$().ready(function() {
setFamily();
$('#family').bind(change keypress, setFamily);
}
As a bonus, this will work if they press the first letter of the
option they're selecting - it's all good. :)
Nathan
Hi.
Im not sure if this is the correct way of going about this so i
thought i'd ask the experts...
I have a jquery ajax script which simply returns true or false based
on the response from a php script.
This works just fine.
However i want to know if it is possible to load a second ajax call
Do you have any code to share?
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
E-mail: mjlaw...@us.ibm.com
'When seen from outer space, our beautiful blue planet has no national
boundaries.'
http://www.givesmehope.com/
Hi
So you should have some thing like this for the div
div class=rounderdiv content/div
and something like this for the corner control.
script type=text/javascript
$(document).ready(function() {
$(.rounder).corner(45px);
});
/script
also jquery.js
and jquery.corners.js in
Thanx Nathan,
It works. It does change the class to the #family form. Is it possible
to make it change the class to the Option element?
option class=option value=Georgia label=GeorgiaGeorgia/
option
option class=option value=Times New Roman label=Times New
RomanTimes New Roman/option
option
On Wed, Jan 20, 2010 at 11:20 AM, Mircea i...@amsterdamsat.com wrote:
Thanx Nathan,
It works. It does change the class to the #family form. Is it possible
to make it change the class to the Option element?
You mean style the option element?
function setFamily() {
$('#family
Sorry,
function setFamily() {
$('#family').css('font-family', $('#family :selected').val());
}
$(#family option).each(function() {
$(this).css('font-family', $(this).val())
});
setFamily();
$('#family').bind(change keypress, setFamily);
http://jsbin.com/agifi/2/edit
Nathan
Ok basically on click of any anchor tag this ajax script calls a php
script called sessions.php
//data
var data = 'do=update';
//run ajax
$.ajax({
//post rather than get (default)
type: POST,
//pass to php script
url: /php-bin/sessions.php,
//send data
I'd like to thank you guys again for the quick response, but for some
reason, both methods aren't working.
I made two suggestions. MorningZ's suggestion was very much like my
first one. My second one is a bit more general, and might help.
I modified MorningZ's page here:
I've got a variable that holds a jQuery object. I would like to filter out
all of the visible elements in that jQuery object. The problem is once I'm
using a variable and not the jQuery object itself I don't know the semantics
for filtering it.
I have something like this:
var Foo = $(#Bar);
Hello All -
After much deliberation the jQuery team has decided to close down the
Google Groups that we've been using for project discussion and move to
a unified forum instead.
The new forum can be found here:
http://forum.jquery.com/
More information about our decision to move can be found
Thanx a lot Nathan!
It works like a charm.
All the best
http://docs.jquery.com/Traversing/filter#expr
so
Foo = Foo.filter(:visible);
On Jan 20, 1:52 pm, BKahuna j...@twistedlogictechnology.com wrote:
I've got a variable that holds a jQuery object. I would like to filter out
all of the visible elements in that jQuery object. The problem is
Hi
I have multiple submit buttons on a form. I haven't been able to
figure out how to get the name parameters on the clicked submit
button serialized when using the ajaxSubmit method.
It appears ajaxForm passes serializes the submit button info, but
ajaxSubmit does not. I need to handle each
Thanks Morning - that's just what I needed.
BKahuna
--
View this message in context:
http://old.nabble.com/Filtering-a-jQuery-Object-variable-tp27246700s27240p27247469.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Well, one thing you could do is to put your other ajax call on an interval.
You have a boolean that says whether or not authentication was successful.
Each time the interval tries to run your second ajax call, it first checks
to see if this boolean is true, if it is, make the call. If its not,
I'm not sure what's wrong. I'm building a site in Wordpress. I
followed the directions on the Superfish site and things look good on
the home page but then the HTML just shows up on the site Pages. Any
help? Suggestions?
Thanks!
Hi Adriana,
Adriana, I am honored that you wrote in to help me; it is, or course,
your script I am trying to work with.
I do not understand what you are asking me to do; can you please give
more info/context? Are you saying that I am missing the lines of code
you put in your response? If so,
I'm trying to install the FullCalendar add-on for jQuery. I am trying
to take a hidden textbox value and insert the value into a jQuery
variable that I will then use for the Event Array data. Right now it
is all static, but the idea of this is to allow for dynamic events to
be sent to the jQuery
Hello,
do you know of a JQuery plugin that supports rapidly skimming through
an image set like Google's FastFlip? For demo see
http://fastflip.googlelabs.com/
Thanks,
Richard
(sorry, I accidentally posted this question to JQuery-UI)
I figured out a solution. I added a literal control to the .aspx
website, then I wrote then entire javascript script type='text/
javascript'
to the literal via the code behind, and it all output and parsed
correctly. Not perfect, but effective.
I'm trying to come up with an approach to assign a different color scheme for
each main group (column).
ie:
ul class=sf-menu sf-vertical
li
# Menu1
/li
li class=red
#a Menu2
ul
li class=red
#aa Menu2-subitem1
51 matches
Mail list logo