There is not much to talk about it...
It let's you save information (metadata if you prefer) to objects.
This should explain it all:
$('#profile_name').data('metaInfo', 'This is my extra data about the object');
$('#change_profile_name').val( $('#profile_name').data('metaInfo') );
Read jQ
I haven't been able to find good documentation on the use of $.data.
Does anyone have any good links to use of this function?
This is all spam I guess ...
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Fri, Feb 6, 2009 at 11:39 AM, Charlie Griefer
wrote:
> heh... i searched google, but searched the web. didn't search groups :)
>
> On Thu, Feb 5, 2009 at 10:36 PM, Michael Geary wrote:
>>
>>
You were probably using jquery 1.3.1 and dimensions plugin. Dimensions
plugin has been included into the jquery core since 1.2.(don't
remember:) )
That is probably the source of the problem...
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Fri, Feb 6, 2009 at 12:05 PM
jQuery works just fine with wordpress. There is nothing in wordpress
that may conflict with jquery. Moreover, wordpress admin panel uses
jquery.
Can you post a link to your page, so we could look into it and try to
find out what's causing the problem...
Read jQuery HowTo Resource - http:/
Use simple old javascript. jQuery is a great framework, but sometimes
plain javascript is better, your case is an example... (IMO)
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Fri, Feb 6, 2009 at 11:49 AM, JQueryProgrammer
wrote:
>
> I have two array of items contai
used this instead, tested and working cross browser
http://info.wsisiz.edu.pl/~suszynsk/jQuery/demos/jquery-selectbox/
Thanks Brian.
ok let me explain in brief what i am trying to do
in html
{% for name in eventname %}
{{ name.title }}
{{ name.title }}
{{ name.address }}
{% endfor %}
//here to fore i was trying to generate div id using which was generating in weired way "The
I have two array of items containing the values and text to be
inserted in a Listbox. I had written the function as:
array2Listbox = function(objListBox, arrValue, arrText) {
var oNewOption;
return jQuery.each(arrValue, function(i) {
oNewOption = new Option(arrTex
I just wanted to ask in general if using jQuery inconjunction with
Wordpress does actually work? I'm pretty sure if jQuery (attached with
a jQuery plugin) would work if it was to be included on the frontpage
(index.php) but maybe not for individual Wordpress posts? It's has
been quite a mountain t
heh... i searched google, but searched the web. didn't search groups :)
On Thu, Feb 5, 2009 at 10:36 PM, Michael Geary wrote:
> And let me Google *that* for you:
>
> http://groups.google.com/groups?q=agile.scrapping%40gmail.com
>
> -Mike
>
> --
> *From:* Charlie Gr
And let me Google that for you:
http://groups.google.com/groups?q=agile.scrapping%40gmail.com
-Mike
_
From: Charlie Griefer
Sent: Thursday, February 05, 2009 9:00 PM
On Thu, Feb 5, 2009 at 8:57 PM, Agile Consulting
wrote:
Explain ADO and RDO
http://letmegooglethatforyou.com/?q
Now i have solved my problem
$(document).ready(function ()
{
$(".viewalldetailslinktext ").find("a.basic,input.basic").click
(function (e)
{
e.preventDefault();
$('#basicModalContent').modal();
});
});
On Feb 6, 10:39 am, Praveen wrote:
>
On Thu, Feb 5, 2009 at 11:45 PM, Praveen wrote:
>
> so that's why i am generating different div id
>
> {% for name in eventname %}
>
> ...
>
> so now my div id is
> class="viewalldetailslinktext">
It appears that you first must fix how your application assigns the ID
to
http://dpaste.com/117315/
my html
---
{% for name in eventname %}
{{ name.title }}
{{ name.address }}
{{ name.summary }}
bumping this
also wondering if anyone knows a select box replacement plugin which
works cross broswer
On Feb 2, 9:22 am, amay0048 wrote:
> I've implemented the jquery.combobox plugin (http://
> jquery.sanchezsalvador.com/page/jquerycombobox.aspx) on a site
> (http://www.powerbuy.com.au). The p
@Mike
Hi again!
I'm "almost" getting it. I guess what I'm trying to do is use nested
arrays within the JSON structure and maybe jQuery can't handle it?
I've restructured the JSON file to be:
{
"Country1": {
"Region1": [
"Citya1",
"Citya2",
"Citya
Explain ADO and RDO
Which version of jQuery UI are you using?
jQuery UI 1.5.3 is only compatible with jQuery 1.2.6
jQuery UI 1.6rc6 is only compatible with jQuery 1.3+
When these don't match, the most common error is callbacks not firing. If
that's not your issue, please post a follow-up on the jQuery UI list
http:
Explain ADO and RDO
Explain ADO and RDO
On Thu, Feb 5, 2009 at 8:57 PM, Agile Consulting
wrote:
>
> Explain ADO and RDO
http://letmegooglethatforyou.com/?q=ado%20rdo
--
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
Explain ADO and RDO
http://dpaste.com/117299/
my html
---
{% for name in eventname %}
{{ name.title }}
{{ name.address }}
{{ name.summary }}
if you're logged in?
On Thu, Feb 5, 2009 at 5:32 PM, Josh wrote:
>
> Hello,
>
> I have installed the Superfish module and can get it to display on my
> site, but I can't seem to get the drop-down to look good. In fact it
> looks pretty awful. Any help would be great. You can see it at
> e
"...there is not much room for improvement left."
You just know that when you say that, someone will come along with a 20x-40x
improvement. ;-)
http://mg.to/test/loop1.html
http://mg.to/test/loop2.html
Try them in IE, where the performance is the worst and matters the most.
On my test machine
just take a look at the source code for the site...basically it looks
like this:
The Briefing
Room
The Blog
Your Weekly Address
Slideshows
Press
Briefings
Official
Statements
Press
Releases
Here's a good read for you:
http://www.learningjquery.com/2008/12/quick-tip-click-table-row-to-trigger-a-checkbox-click
On Feb 5, 4:40 pm, Sam Hastings wrote:
> Hi everyone,
>
> I've got an HTML table like this:
>
>
>
> Foo
> Bar
> Baz
>
Hi everyone,
I've got an HTML table like this:
Foo
Bar
Baz
What I'd like to do is toggle the checkbox's checked state when any of
the cells in its row are clicked. I've tried this a thousand different
ways and
using validation plugin, is there a way to validate checkbox group that has
different name attributes? i would like to make sure that at least one
checkbox has been selected but i'm not sure how to do it because they all
have different names.
thanks
--
View this message in context:
http://www
Hello,
The question is why drag-option doesn't work ( options.drag = function
(event,info) { alert('drag'); } )?
Thanks in advance.
http://www.w3.org/1999/xhtml";>
Scroll element
.scrollable {
overflow:hidden;
height:200px;
width:35
Hello,
I have installed the Superfish module and can get it to display on my
site, but I can't seem to get the drop-down to look good. In fact it
looks pretty awful. Any help would be great. You can see it at
eslbasics.com
To get positions, position() and offset(), along with with() and height
()
When your user edit the layout you can fireup an ajax request to a php
that saves your data...
check the jqEditable plugin code...
cheers
mWolff
Try Using the onchange event.
On Feb 5, 4:06 pm, "Rick Faircloth" wrote:
> What's the best event to use for a select to trigger
> a function?
>
> I'm currently using onclick, because it seems to be the
> best option, but that creates problems. It causes the
> function to fire when the down arro
What's the best event to use for a select to trigger
a function?
I'm currently using onclick, because it seems to be the
best option, but that creates problems. It causes the
function to fire when the down arrow is clicked and when
an option is chosen.
I've tried several different approaches, b
I am using a function like :
$('.ui-tabs-nav').bind('tabsselect', function(event, ui) {
$("input[rel='currentTab']").val(ui.index);
$("#example > div.ui-tabs-panel").empty();
});
It just removes everything from tab , buttons , textbox , table
everything... I want that when I click
thanks for the response. Any idea where I can get some code that will
allow me to create such navigation system? I'd appreciate the
information.
On Feb 4, 7:37 pm, Joel Birch wrote:
> Hello,
>
> I think that it's simply a matter of including multiple ul elements
> inside the parent li, then fl
jQuery.fn.jquery
Karl Rudd
On Fri, Feb 6, 2009 at 11:54 AM, Geuis wrote:
>
> Wondering what an easy way to detect which version of jQuery is
> running on a page. Is there a $.version property? Doing feature
> detection based on deprecated methods probably wouldn't work well,
> since they would
$().jquery seems to work. Not sure if there's a better way.
On Feb 5, 2:54 pm, Geuis wrote:
> Wondering what an easy way to detect which version of jQuery is
> running on a page. Is there a $.version property? Doing feature
> detection based on deprecated methods probably wouldn't work well,
> s
Wondering what an easy way to detect which version of jQuery is
running on a page. Is there a $.version property? Doing feature
detection based on deprecated methods probably wouldn't work well,
since they would still exist in some newer versions.
Try:
$("#mfglist input:checkbox")
or maybe:
$("#mfglist :checkbox")
(note the space before :) might work.
Using:
$('#manufacturers:checkbox')
is saying that you have a checkbox with the ID of manufacturers, which
is incorrect.
On Feb 5, 11:09 am, sdeo wrote:
> Hi
> I have the following html
Are your tabs AJAX? I had a similar issue, but it didn't work in
Firefox also. Apparently this occurred for me because everytime you
click on a tab, the AJAX loaded HTML remains in the DOM. This is an
issue if you have separate tabs HTML with elements that have the same
ID, as this will cause mult
I have a question about how jeditable chooses which select option to
start with when you click to edit a field. For example I have the
following table:
Person 1, Color: Orange
Person 2, Color: Blue
Person 3, Color: Blue
Person 4, Color: Orange
Person 5, Color: Red
Person 6, Color: Ora
this will be significantly faster
var html = [];
$.each(data, function(i, row) {
html.push('data from json');
});
$("tbody").append(html.join(''));
$("table").formatTable();
On Feb 5, 12:56 pm, James wrote:
> I see. Thanks for the tip. I'll try to work on that!
>
> On Feb 5, 10:38 am,
Hi
I have the following html where I have a bunch of checkboxes which I
want to trigger events when checked/unchecked. But apparently the
events are not being recognized.
I have tried using various ways to access the checkboxes, but nothing
seems to work.
1)$('#manufacturers:checkbox').cl
I have a web application that i have been working on for a few months
now and i ran into a stumbling block about 2 weeks ago, i have tried
everything i can think of and with no success i figured i would get a
second opinion.
$(document).ready(function(){
$("button#Submit").click(function(
Hi
I have the following html where I have a bunch of checkboxes which I
want to trigger events when checked/unchecked. But apparently the
events are not being recognized.
I have tried using various ways to access the checkboxes, but nothing
seems to work.
1)$('#manufacturers:checkbox').cl
This will be significantly faster
var html = [];
$.each(data, function(i, row) {
html.push('data from json');
});
$("tbody").append(html.join(''));
$("table").formatTable();
On Feb 5, 12:56 pm, James wrote:
> I see. Thanks for the tip. I'll try to work on that!
>
> On Feb 5, 10:38 am,
On Thu, Feb 5, 2009 at 2:55 PM, ebru...@gmail.com wrote:
>
> Hello,
>
> I am working on a map just like mmog games have like travian etc.
>
> The map has 4 navigation buttons nord east south west. If someone
> presses on it it loads the page again, i just want the map to move.
>
> Is there some k
Here's a way you can make that much faster:
function loadTable( rows ) {
var out = [], o = -1;
out[++o] = '';
for( var row, iRow = -1; row = rows[++iRow]; ) {
out[++o] = '';
out[++o] = row.whatever;
out[++o] = '';
}
Thanks... So I can save these values with php???
Cause I plan to allow people to make their own profile page layout and
need to save these values.
On Feb 2, 7:11 am, jQuery Lover wrote:
> To find positions and everything:http://docs.jquery.com/CSS
>
>
> Read jQuery HowTo Resource - http:
OK, My website is : www.chillenvillen.comon that site click the
home button. It will take you to a login page use TEST for both user
name and password.
this takes you to a test account. This account page has jquery
javascript. Use Firefox to see what it supposed to be doing and then
look
HI
I am using ui tabs and i have 5 tabs on my page. Each tab is having a
submit button and placeholder...
when submit button is clicked , it fires a click event for that button
in code behind and loads a table in placeholder of that tab...
problem is after doing this process once in Internet Explo
Hi,
What I had to do to get that to work(doing exactly what you are
doing), was once the new content was loaded from the AJAX call,
destroy and "re-drag" the loaded divs...
Something like this
$ajax...
success:
..somestuff...
..load new content...
$('.classname').draggable('destroy');
On Feb 5, 6:17 pm, Jörn Zaefferer
wrote:
> I'm sorry. I confused the (hidden) select and the text input. Please
> revert that last change and lets try again.
>
> Jörn
It's reverted.
I'm sorry. I confused the (hidden) select and the text input. Please
revert that last change and lets try again.
Jörn
On Fri, Feb 6, 2009 at 12:02 AM, Chris wrote:
>
> On Feb 5, 5:50 pm, Jörn Zaefferer
> wrote:
>> You've got class="required" on the text-input-element. The validation
>> picks t
On Feb 5, 5:50 pm, Jörn Zaefferer
wrote:
> You've got class="required" on the text-input-element. The validation
> picks that up as a validation rule. Removing it should give you the
> correct rule instead.
>
> Could be considered a bug, where the option-rule should override the
> class rule, ins
You can try as long as you want - as long as you serving XHTML as text/
html, from the browsers point of view (e.g. its parser) it's HTML it's
dealing with, thus it'll remove those slashes internally.
Have you ever wondered why in Firefox' source code view those slashes
are marked red (as in erro
You can with my form validation plugin.
http://shugartweb.com/jquery/form
There is an option that you can pass called 'ignore'. It is a selector
for all fields that should be ignored in validation. By default it is
':hidden', but you can put anything in there such as ':hidden,
[value="default va
You've got class="required" on the text-input-element. The validation
picks that up as a validation rule. Removing it should give you the
correct rule instead.
Could be considered a bug, where the option-rule should override the
class rule, instead of the current behaviour.
Jörn
On Thu, Feb 5,
Fix'd.
It turned out just to be a CSS issue - float:left instead of right...
DOH.
On Feb 5, 11:34 am, "ch...@chris-reilly.com"
wrote:
> Hello everybody!
>
> I am working on finishing a site that another web designer started,
> and am a total newb to Superfish and not very strong in CSS/JS
> t
I still havent found a solution for the drop down opacity for
superfish.
Ive tried changing all the colors , but the drop down background one
stays the same, and makes the text very hard to read.
i want the BACKGROUND color of the drop down to change from clear to a
color.
Any help??
my email
I have a page where I'm using tooltip that is dynamically constructed
with $AJAX calls. The static content gets tooltip initialization just
fine, but I'm having trouble with content added after initial load.
The first call to tooltip after page load:
function setFactoryTooltip()
{
$('.factor
You know how sometimes you are working on a problem and you stare at
it so long that the most obvious answers escape you until someone
points it out and it is like a smack in the face?
Yeah. Serious 'duh' moment on my part. Thanks.
On Feb 5, 3:32 pm, MorningZ wrote:
> Can you just make life REA
On Feb 5, 4:34 pm, Jörn Zaefferer
wrote:
> Remove the required-class. That overrides the dependency-required-rule.
>
> Jörn
Sir,
>From the markup above (Google Group) the only thing I include on the
radio button is the validate="required:true". Should I remove that? I
tried to remove it, and
Remove the required-class. That overrides the dependency-required-rule.
Jörn
On Thu, Feb 5, 2009 at 9:58 PM, Chris wrote:
>
> Thanks James. Now the page doesn't break, but my validation rules
> still don't hold.
Yeah, that'll do, too:
required: function() {
return $('#radioButton1:checked, #radioButton2: checked').length == 2;
}
Jörn
On Thu, Feb 5, 2009 at 10:12 PM, Eric Garside wrote:
>
> You could just do:
>
> if ($('#radioButton1:checked, #radioButton2: checked').length == 2)){
> //required
> } el
listen for click
On Jan 21, 5:24 am, XeroXer wrote:
> Hi all.
>
> I am triggering an ajax load on my page if a radio button or checkbox
> is changed.
> For this i am binding 'change' to the checkbox or radio button.
> This works perfect in both Firefox and Safari but not in Internet
> Explorer.
You could just do:
if ($('#radioButton1:checked, #radioButton2: checked').length == 2)){
//required
} else {
//not required
}
On Feb 5, 1:51 pm, Jörn Zaefferer
wrote:
> The [validate] indicates that the message is about the validation
> plugin. I'm asking to put that into the subject on the plu
Thanks James. Now the page doesn't break, but my validation rules
still don't hold.
I see. Thanks for the tip. I'll try to work on that!
On Feb 5, 10:38 am, Ricardo Tomasi wrote:
> Concatenating into a string is already much faster than appending in
> each loop, there is not much room for improvement left. What you can
> do improve user experience though is split that into a re
var r = jQuery("#rsvp").validate({
rules: {
select: {
required: "#accept:checked"
}
}, < RIGHT HERE
submitHandler: function(form) {
On Feb 5, 3:23 pm, Jörn Zaefferer
wrote:
> Could you provide a testpage? Your code looks fine.
>
> Jörn
Sure. http://www.chris-gwen.com/ Right now Firebug says i'm missing a
semicolon which breaks everything, but i don't see why it says that.
I managed to alias some of the classes to more simple names in my WS,
so my JSON now looks like this.
{"persons":
{"person":[
{"personId__":
6,"firstName__":"Jack","lastName__":"Black","email__":"jbl...@jackblack.com"},
{"personId__":
1,"firstName__":"Joe",
renderTree: function(){
var tree = this;
$.post("/Treeview?task=GET_NODE&action=DYNAMIC", {}, function() {
tree.renderFolder(xml, 'foldersView');
});
},
On Feb 5, 5:54 pm, MoBel wrote:
> I'm integrating prototype and jQuery together. I have a class that
> looks like this:
>
> var
Concatenating into a string is already much faster than appending in
each loop, there is not much room for improvement left. What you can
do improve user experience though is split that into a recursive
function over a setTimeout, so that the browser doesn't freeze and you
can display a nice loadi
Concatenating into a string is already much faster than appending in
each loop, there is not much room for improvement left. What you can
do improve user experience though is split that into a recursive
function over a setTimeout, so that the browser doesn't freeze and you
can display a nice loadi
> I am using the block method to block a specific element on my page.
> Below is the syntax I used to try to block it.
>
> $(document).ready(function() {
>
> $('#btnBlock').click(function() {
> $('#tblTest').block({ css: { backgroundColor: 'red', color:
> 'red' , height: '3
Can you just make life REALLY easy on yourself and put the text in a
tag or something?
ie/
List Item1
List Item2
Sub Item1
Sub Item2
then
http://docs.jquery.com/Selectors/firstChild
would make it a snap to get the text()
On Feb 5,
Hi All -
I am using the block method to block a specific element on my page.
Below is the syntax I used to try to block it.
$(document).ready(function() {
$('#btnBlock').click(function() {
$('#tblTest').block({ css: { backgroundColor: 'red', color:
'red' , height: '3px'}
I'm integrating prototype and jQuery together. I have a class that
looks like this:
var TreeView = function(){};
TreeView.prototype = {
initialize: function()
{
this.view = 'Data management';
},
renderTree: function()
{
$.post("/Treeview?task=GET_NODE&action=
Hello everybody!
I am working on finishing a site that another web designer started,
and am a total newb to Superfish and not very strong in CSS/JS
troubleshooting. We are using a horizontal menu with a horizontal
submenu below it. It looks beautiful in FF, in IE 6/7 it is rendering
the submenus
Hi There. I am new to jQuery and I have a question. I was able to
get the drag/drop functionality working, very slick.
For an example, I have some HTML in one which has a "droppable"
point, and HTML in another which has many "draggable" points. I
can drag and drop and all is well.
The next
It seems that when I do an ajax call (or post) to pull in my comments section
my Facebook Connect code doesn't work absolutely correct. I'm not sure if
this has to do with the fact that scripting doesn't work when you do this or
not. Anyone have any ideas?
--
View this message in context:
htt
It's much faster (and clearer) to use slice():
$('.button').slice(1,3);
On Feb 5, 12:56 pm, Stephan Veigl wrote:
> Hi
>
> that selector works just as it should. If you get other results in
> JQuery 1.2.6, then there was a bug in 1.2.6.
> What you ask for is:
> 1. give me every element of class
Could you provide a testpage? Your code looks fine.
Jörn
On Thu, Feb 5, 2009 at 9:08 PM, Chris wrote:
>
> On Feb 5, 6:09 am, Leonardo K wrote:
>> http://docs.jquery.com/Plugins/Validation/Methods/required#dependency...
>
> Ok, here's my markup and my attempt to do the conditional validation,
>
I've not had any luck troubleshooting this problem. If the flicker
were restricted to only teh item being hovered on, I'd probably just
let it go, but the entire meny disappearing is to much. any thoughts?
-Tim
Correction: you actually need the children collection to work out the
index:
var index = $(this).parent('tr').children().index(this);
On Feb 5, 5:01 am, Ricardo Tomasi wrote:
> var index = $(this).parent('tr').index(this);
> var quantity = $('.price_table th').eq(index).text();
> alert( quantit
duplicate:
http://groups.google.com/group/jquery-en/browse_thread/thread/1b8e73583661fa52/ec7d0d275d484f66?hl=en#ec7d0d275d484f66
On Feb 5, 9:19 am, paulswansea wrote:
> Hi,
>
> I have a page with multiple tables, and need to get the index value of
> a cell with a price which i click on, so i ca
On Feb 5, 6:09 am, Leonardo K wrote:
> http://docs.jquery.com/Plugins/Validation/Methods/required#dependency...
Ok, here's my markup and my attempt to do the conditional validation,
but it obviously doesn't work. I only want the select (#select) to be
required if the radio button (#accept) is c
Hi,
I'm trying to traverse a list that has some sub-lists nested, i.e.
List Item1
List Item2
Sub Item1
Sub Item2
I'm trying to grab the text of List Item2, but without the text of the
sublist items. Right now if I use:
$('ul li').text() -
I use ajax suggest at my website with the following codes. I tried
converting them to JQuery after reading few tutorials. I get showHint
() is not defned error. What is wrong where?
Basically,
I submit to test.asp?Process=CheckCustomer then I get results as xxx,
xxx2, xxx3...
function showHint
On Thursday 05 February 2009, David Meiser wrote:
> I'm not 100% sure what you're trying to accomplish, but you can output
> anywhere on the page using a distinct element name.
>
> I have code in which I attach tables generated in jquery to DIVs, for
> example. And I'm certain you could go the op
Hello,
I am working on a map just like mmog games have like travian etc.
The map has 4 navigation buttons nord east south west. If someone
presses on it it loads the page again, i just want the map to move.
Is there some kind of plugin or a other simple way to fix this?
Erwin
You cannot upload files via conventional AJAX (XMLHttpRequest).
There are several around it, most commonly to do a normal submit of
the upload form to a hidden iframe.
There are many articles around on that if you do a search.
On Feb 5, 5:58 am, "david.0pl...@gmail.com"
wrote:
> Disclaimer: I kn
Thanks for the tip, David!
I'll have a look at jTemplates.
Rick
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf
Of David Meiser
Sent: Thursday, February 05, 2009 12:52 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Turning JSON-formatted AJAX dat
Hello world,
I've managed to load a simple HTML file using the .load function. I'm
trying to traverse between the multiple pages using forward and back
buttons. Right now, I have the click function of the AJAX loaded page
inside of the load function, but that is messy and runs into problems.
Is
I need tips on optimizing a large DOM insert to lessen the "freeze" on
the browser.
Scenario:
I receive a large amount of JSON 'data' through AJAX from a database
(sorted the way I want viewed), and loop through them to add to a JS
string, and insert that chunk of string into a tbody of a table.
The [validate] indicates that the message is about the validation
plugin. I'm asking to put that into the subject on the plugin page.
To the question, try this:
required: function() {
return $("#radioButton1:unchecked").length &&
$("#radioButton2:unchecked").length;
}
Jörn
On Thu, Feb 5, 200
Thanks very much for having a look. I just found when I redownloaded
it that I hadn't linked the original Cycle js file correctly. That
dumb error taken care of, it's working just as it should now. Like a
million other people, I can't believe I spent so much time trying to
fix this, when I should
1 - 100 of 186 matches
Mail list logo