almost forgot: I was wondering if part of the problem was the z-index
cluster that is a result of stacking all these plugins together.
The parsed code has a crapload of z-index values that I believe are
part of the conflict somewhere. I'm still trying to pick it apart but
thought someone
Hi Paolo ,
I Tried perpending
like this
var errImg = '/img/errIcon.gif';
$(.+errId).attr(style,display: inline; color: red);$
(.+errId).prepend('img src=' + errImg + '/nbsp;nbsp;');$
(.+errId).html('nbsp;Invalid Character. Numerals only.');}
which should have worked like a
I think what you want is this:$('#FieldA').blur(
$('#FieldB').val($('#FieldA').val());
$('#FieldB').valid();
);
Hello,Try this:
$('#dialog').dialog('option',{width:500})
Hope this helps,good luck
lanxiazhi
Hi all.
I have n number of text box (n may be any number) with same name. And
I want to access the value of all the text box of that name.
Ex-:
input type=text name=location[] /
input type=text name=location[] /
input type=text name=location[] /
or is there any other way to access the value
var values=$('input[name=location[]]').map(function()
{
return $(this).val()
}
).get();
this will return an array of values.
2009/8/27 Rupak rupakn...@gmail.com
Hi all.
I have n number of text box (n may be any number) with same name. And
I want to access the value of all the text box of
thanks lanxiazhi., It works
On Wed, Aug 26, 2009 at 11:24 PM, lanxiazhi lanxia...@gmail.com wrote:
var values=$('input[name=location[]]').map(function()
{
return $(this).val()
}
).get();
this will return an array of values.
2009/8/27 Rupak rupakn...@gmail.com
Hi all.
I have n
function loginCallback() {//add a callback function to this animation,where
the focus take place.
$(#login_form).show(slide, null, 1000); }
maybe you should change it:
$.ajax({
dataType: xml,
data:{xmldata:d},
success: postSave,
url: saveURL,
type: PUT,
beforeSend: diagnoser.credManager.getAuthSetterCurrent()
});
Hi Charlie,
I would welcome your input
ind1g3n
On Aug 20, 1:36 pm, Charlie charlie...@gmail.com wrote:
Hi
this requires using ajax ( either jQuery or google code) to send/retrieve the
information which also needs to be tied into gmap code which is part of the
Google map API. Google has
- Why is the tablesorter's page display set as an input field instead of
just a plain text? I don't think it's a good user interface for showing the
page display especially when editing it has no use. Even if you can set the
field as disabled, it's still not the right way to display
I'm trying to execute a function animate_next() when a div element
is clicked, but it isn't working. Here is what it looks like..
$('#playground').click(function(){animate_next();});
If I put..
$('#playground').ready(function(){animate_next();});
..then it will work fine.
Here is the div
Hi,
I have given the example code is below,
function showDiv(divid){
$(#+divid).show(slow);
}
function hideDiv(divid){
$(#+divid).hide(slow);
}
a href=javascript:showDiv('screen')Test/a
div id=screen style=display:none
div class=cbox
Hello,
I've created an extremely simple price calculator form using the form
plugin (http://malsup.com/jquery/form/), that sends some dimensions to
a php script, which then reports the correct price back after some
calculations into a div using ajaxForm. This is working in FF,
Chrome, and
Hi guys
I'm trying to do the following:
-
$(document).ready(function(){
img=$(quot;.imgquot;);
imga=img.attr(quot;hrefquot;);
$(quot;#imgboxquot;).append(quot;img src='quot;+imga+quot;'/
quot;);
});
---
Want to
Hi,
I am using a user control in the page to display the list messages
posted by the logged in user. The user control also includes the
paging, which is implemented using ajax.Actionlink.
In the list I have a delete button where we are using boxy class to
modal popup for confirmation of
Ok for some reason none of my jQuery is working i get these errors :
Error: $ is not a function
Source File: http://wptest.moppieillusions.com/
Line: 52
Error: $ is not a function
Source File: http://wptest.moppieillusions.com/
Line: 100
Error: $ is not a function
Source File:
Looking at the (many!) Javascripts you've got running there, you appear to
be loading jQuery twice:
Line 21:
script type='text/javascript'
src='http://wptest.moppieillusions.com/wp-includes/js/jquery/jquery.js?ver=1
.3.2'/script
Line 65:
script
First, why did you change the title of my post and added your
unrelated question there?
Second, in PHP, PHP_SELF doesn't send the name of the actual php
script in which it is called but the page running in the browser, i.e.
if you call PHP_SELF from a file included in your index.php, PHP_SELF
Rechanging the subject to its original title...
On Aug 27, 12:02 pm, BaBna thomas.na...@gmail.com wrote:
First, why did you change the title of my post and added your
unrelated question there?
Second, in PHP, PHP_SELF doesn't send the name of the actual php
script in which it is called but
I just ran into a behaviour that I can't explain using jQuery 1.3.2.
-- HTML
table id=global_id
tr.../tr
tr class=rel_event name=12345.../tr
tr class=rel_event name=12347.../tr
tr.../tr
/table
-- First code which doesn't work in IE6 (work in mozilla browsers,
IE7+, Opera and probably others as
Hi all,
I'm new to jQuery. I'm not sure this is the right place for question
about plugins.
I'm trying the Time Entry Plugin with a Time range.
Some one know how I can update the #tTo field when I increment the
#tFrom field?
Thanks for help.
Mirco
Hi everyone !
My problem is simple.
Here is my code :
function ajax_test(){
anc_pv = $('.pv_act').attr(pv);
$.ajax({
type: GET,
url: ajax_test.php,
data: ,
dataType: html,
success: function(data){
Try Superfish. See 'Examples', then 'vertical style':
http://users.tpg.com.au/j_birch/plugins/superfish/#sample3
- Richard
On Wed, Aug 26, 2009 at 12:48 PM, lukas animod...@gmail.com wrote:
I stumbled over a very elegant way to select from a large item list on
http://siemens-home.com/
Hi
I would like someone to help me out with some issues I am having with the
Lava Lamp / SubMenu.
This is what I have achieved so far
http://karen.2kmegs.com,http://karen.2kmegs.com%2C/ however
what I am trying to do now is that when I am hovering the 'Home' (or
whichever has a submenu) I would
Can anyone help with this, Please?
Thanks.
I have a form with a multi-select field that needs to be validated, so
at least one option is selected. Is there a setting I'm missing in
the validation plug-in?
Thanks in advance.
Here are examples with multi-selects:
http://jquery.bassistance.de/validate/demo/radio-checkbox-select-demo.html
Jörn
On Thu, Aug 27, 2009 at 3:04 PM, Psyclom...@datamodel.org wrote:
I have a form with a multi-select field that needs to be validated, so
at least one option is selected. Is
quite simple. instead of setting the color to green in the :active
class, just use jquery.hover to set the color. Maybe when you hover
the submenu you set yhe color, when exit the submenu set the color to
default
Paolo
On Thu, Aug 27, 2009 at 2:52 PM, Karen Moraleskaren.morale...@gmail.com
Can anyone point me in the right direction or an example to show only
one error at a time at the bottom of the form?
Something similar to this:
https://www.imeem.com/signup/
a couple ideas.
1. add var so you're not creating a global variable (unrelated to
your question, but a good practice, nonetheless):
var anc_pv = $('.pv_act').attr(pv);
2. put another alert right after the var anc_pv = $
('.pv_act').attr(pv);
var anc_pv =
I can't seem to figure out how to show only one error at a time
similar to https://www.imeem.com/signup/
Anyone have an example I can take a look at? Or point me in the right
direction?
Hello,
I was editing some javascript code yesterday that happened to use
jquery. Part of the code selected two elements via jquery. Then the
original author used nodeIndex to determine the position of each of
these nodes in their parents. I could not find any documentation on
nodeIndex on the
mmm.. try this..
Put a border to your div, let's say border: 10px, then click the border to
see what happen..
- Original Message -
From: Kris S krissauqui...@gmail.com
To: jQuery (English) jquery-en@googlegroups.com
Sent: Wednesday, August 26, 2009 7:04 PM
Subject: [jQuery] Click
On Aug 27, 2009, at 8:49 AM, Justin Dearing wrote:
Hello,
I was editing some javascript code yesterday that happened to use
jquery. Part of the code selected two elements via jquery. Then the
original author used nodeIndex to determine the position of each of
these nodes in their parents. I
Thanks for responding so quickly.
Unfortunately, my form just isn't working like yours. I don't see
what I've done wrong. Maybe you can see something?
Here is the code:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://
www.w3.org/TR/html4/loose.dtd
html
head
script
I am seeing a weird effect on IE 7.
I have a set of vertically aligned/stacked boxes (simple divs) that
each contains a link that toggles the contents (small images loaded
via ajax) of the box.
Everything work as expected on FF - click on any links and the
contents of the box toggles.
Very
$(document).ready(function(){
img=$(.img);
img.each(function(i){
var imga = $(this).attr(href);
$(#imgbox).append(img src='+imga+'/);
});
});
Paolo
On Thu, Aug 27, 2009 at 4:08 AM, Jottaesmallj...@gmail.com wrote:
$(document).ready(function(){
img=$(quot;.imgquot;);
I would suggest using Firefox and FireBug to watch what comes back
from your $.getJSON call... because that will indicate that your JSON
is indeed valid, because if it isn't, you'll never make it into the
success event
On Aug 27, 11:01 am, sso strongsilent...@gmail.com wrote:
I need to return
Thanks Ianxiazhi, that works.
Why is it that I need to call focus from its own callback? Like I
said, I'm very new to JS/jquery so any insight is appreciated.
-S
On Aug 27, 12:14 am, lanxiazhi lanxia...@gmail.com wrote:
function loginCallback() {//add a callback function to this
I need to return several values and I'd rather do it all in one ajax
call. However there doesn't seem to be anything in data. Perhaps I'm
way off here.
I appreciate any guidance you can give me. Thanks :)
This is my jquery
$('#cart-pulldown').livequery('click', function(event){
How on earth do I start getting these emails out of the blue! I've checked,
I'm not member of this group. Can anyone tell me how to cancel it?
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of shenry
Sent: Thursday, August 27, 2009
Hi there,
I'm trying to make a form that has both browser and server side
validation.
I'm using the validate plugin for browser side and thats working fine.
I'm using the form plugin for server side. I'm using ajaxForm to test
if the form was submitted and then display a thankyou message.
My
On Aug 27, 2009, at 12:33 PM, Florin Gheorghies wrote:
How on earth do I start getting these emails out of the blue! I've
checked,
I'm not member of this group. Can anyone tell me how to cancel it?
The following instructions are paraphrased from:
have you tried json.d ?
On Aug 27, 9:38 am, defdev sp...@definitivedevelopment.co.uk wrote:
Hi,
i have a form defined as follows:
$(document).ready(function(){
$('#edit_page_form').ajaxForm({
type: POST,
timeout: 45000,
dataType: 'json',
error:
hello,
Is it possible to assign some unique id-s when using multiple
instances of a datepicker (DP) on a page?
currently i'm tinkering with this timepicker (TP) (
http://milesich.com/timepicker/
) because i desperately need a TP, but without DP.
so far i managed to make only the TP appear,
Have you also tried accessing your PHP page directly and copying it's
output into http://www.jsonlint.com?
I'd also double check your server has the JSON module for PHP
installed, just to be sure ;-)
On Aug 27, 4:45 pm, MorningZ morni...@gmail.com wrote:
I would suggest using Firefox and
I figured this out:
IE won't let you use the names length or width for your name
attributes, but this is fine apparently in other browsers, and it's
only is an issue when submitting via ajax--if I turned the script off,
it posted as normal. Hopefully this bit of knowledge will save
someone a
Hi. I'm trying to use this google api for an org chart and I'm a
little lost.
script type='text/javascript' src='http://www.google.com/jsapi'/
script
script type='text/javascript'
google.load('visualization', '1', {packages:['orgchart']});
google.setOnLoadCallback(drawChart);
For those who are interested.
This is a known bug with jquery on IE (I google'ed and found others
having the same issue)
Its an issue with LI elements.
On Aug 27, 9:38 am, nextpulse rob...@nextpulse.com wrote:
Found a hack. I had to place everything in a table and force a width
in IE. That
Have you also tried accessing your PHP page directly and copying it's
output into http://www.jsonlint.com?
I'd also double check your server has the JSON module for PHP
installed, just to be sure ;-)
On Aug 27, 4:45 pm, MorningZ morni...@gmail.com wrote:
I would suggest using Firefox and
I have an MVC application that is using xVal and jquery with the
validate plugin. I am trying to get the error message span's that
appear to display under the associated form elements., right now they
display to the right. I noticed that this seems to be possible with
jquery validate since i see
Hi Paolo,
Thanks for your response.
I achieved the updated result using the following code
function fademenutext() {
$('#jsddm li a').hover(
function () {
$(this).animate({color:'green'}, {queue:false,duration:500});
}, function () {
Solution:
$($(button.primary)[0]).text()
-- or should we call this a workaround ?
Why will I have to wrap the element in another jQuery function call?
/Jesper
On Aug 27, 5:26 pm, Jesper Rønn-Jensen jespe...@gmail.com wrote:
I'm trying to read (and then change) the text on two buttons in my
$(.+errId).empty()
.css({ display: inline, color: 'red' })
.text( Invalid Character. Numerals only.)
.prepend('img src=x /');
What CMS are you using? The page is probably in the root of your
website, so you'll need the full path to the the image.
On Aug 27, 3:02 am, Fabio
Hi,
i have a form defined as follows:
$(document).ready(function(){
$('#edit_page_form').ajaxForm({
type: POST,
timeout: 45000,
dataType: 'json',
error: function() {
alert(error etc );
},
success: function(json) {
Found a hack. I had to place everything in a table and force a width
in IE. That seems to have fixed it.
(So its most likely a css issue)
On Aug 27, 8:24 am, nextpulse rob...@nextpulse.com wrote:
I am seeing a weird effect on IE 7.
I have a set of vertically aligned/stacked boxes (simple
That's what I'd call it, anyway. This would be a captioned button
with a small arrow you'd click on. That would drop down a list of
button captions, changing the caption of the button when it collapses.
The upshot is, the button would have variable onclick functionality,
dependent upon the
Thank you James for the help! I didn't know that the address is
static once you've initialized it. I'm trying to work with the
extraParams option but it doesn't seem to do anything. Here is how I
have it set:
//Item Search for food name
$(#add-item #ITEMNAME).autocomplete(?=
Thanks. Thanks. Thanks.
It's Work
On 27 ago, 16:41, James james.gp@gmail.com wrote:
You have to loop through the jQuery set. You can use the each() method
for that.
$(document).ready(function(){
$(.img).each(function() {
var url = this.href;
$(#imgbox).append('img
You have to loop through the jQuery set. You can use the each() method
for that.
$(document).ready(function(){
$(.img).each(function() {
var url = this.href;
$(#imgbox).append('img src=+url+ /');
});
});
On Aug 26, 4:06 pm, Jottae smallj...@gmail.com wrote:
Hi guys
I'm
its not installed, the functions break the script and I'm now aware
that this isn't obvious when its done in an ajax call :) thanks!
On Aug 27, 12:22 pm, Leonard Martin leonard.mar...@gmail.com wrote:
Have you also tried accessing your PHP page directly and copying it's
output
On Aug 27, 11:45 am, MorningZ morni...@gmail.com wrote:
I would suggest using Firefox and FireBug to watch what comes back
from your $.getJSON call... because that will indicate that your JSON
is indeed valid, because if it isn't, you'll never make it into the
success event
On Aug 27,
in CSS, try adding position: relative; to the #navigation properties
On Aug 27, 7:12 pm, Mario sevenartwo...@googlemail.com wrote:
Hello everybody,
I want to create a menu on the left side of the screen. OnMouseOver
the menu should slid in from the left, OnMouseOut the menu should
slide
Hello All,
I'm running into some issues where I'm alittle confused about the
scope of my variables.
I have this code:
$(function(){
var categoryID;
//Aloha Item Category Dropdown Selection
//Takes the Selected Value and adds it to Item Search Ending
$(#add-item
I haven't tested this, nor tried it before, but based on the
documentation the data type of extraParams has to be an object, or a
function (that probably returns an object).
function getCategoryID() {
return {catID:categoryID};
// 'catID' will be the name of the categoryID in your script
Is there a way in jQuery to send data to a server as something other
than a command string? It would be very convenient, for example, to
send a block of xml or json much like getJSON() in reverse. It would
need to be sent over a secure https connection.
TIA!
Found it. Incompatibility with validation plugin so I upgraded that.
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
On Aug 27, 11:23 am, Eric Winter ejwin...@gmail.com wrote:
I am not trying to upgrade to 1.3.2 and in every case I use a selector
that should (used to) return
Is that for the whole ID? (e.g. it maybe 'ext-gen439' once or 'blah-
foo3456' another)
Or only just the number at the end? (e.g. always begin with ext-gen)
On Aug 26, 5:10 pm, John jian.fang.subscr...@gmail.com wrote:
Also, it is not possible for us to use Ids because the ids are
dynamically
Could you show us what your animate_next() function looks like?
On Aug 26, 3:04 pm, Kris S krissauqui...@gmail.com wrote:
I'm trying to execute a function animate_next() when a div element
is clicked, but it isn't working. Here is what it looks like..
It doesn't show up in php_info();
On Aug 27, 12:22 pm, Leonard Martin leonard.mar...@gmail.com wrote:
Have you also tried accessing your PHP page directly and copying it's
output intohttp://www.jsonlint.com?
I'd also double check your server has the JSON module for PHP
installed, just to be
I'm trying to read (and then change) the text on two buttons in my
user interface:
button class=primary approveApprove selected/button
button class=primary rejectReject selected/button
Now depending on how many checkboxes (elsewhere) are selected, I want
to change the text to something like
Seems I should use css(), not attr().
On Aug 27, 3:46 pm, John jian.fang.subscr...@gmail.com wrote:
Seems always begin with ext-gen.
I wonder if I could split the style content into multiple single
attributes
and then use attr() to compare. Based on that, I could create a custom
selector.
can you post an example page? it's hard to visualize what's going
wrong without seeing it in action.
thanks
On Aug 27, 8:07 pm, Mario sevenartwo...@googlemail.com wrote:
This works a little bit better, however, it slides still one more than
I want and I cannot access the Menu because it
Ok, I can't figure this out...
The default sort (when clicking on any of the headers in the
tablesorter table) is ascending.
Now, I want to change that to descending for ALL columns, not just the
initial sort column (defined in sortList). I've tried editing
sortInitialOrder parameter in the .js
Hi Karl !
Here is what i've try :
function ajax_test(){
anc_pv = $('.pv_act').attr(pv);
alert(anc_pv);
$.ajax({
type: GET,
url: ajax_test.php,
data: ,
dataType: html,
success: function(data){
It's not really a variable scope problem. You're misunderstanding when
variables are set.
This is what's happening:
set global variable categoryID
add change event
add autocomplete with URL set to aloha/item_search/+categoryID
- categoryID is blank
do rest of page
When you do your change
That is really strange. Are you sure? It's not much different, but try
this:
function ajax_test(){
var anc_pv = $('.pv_act').attr(pv);
alert('1 '+anc_pv);
$.ajax({
type: GET,
url: ajax_test.php,
dataType: html,
success:
NAME is not valid attribute of tr, so it's possible you can expect
some inconsistencies.
I suggest changing it to using ID instead (remember, IDs cannot begin
with a number also, so you'll have to prepend it with something).
Other suggestions are using jQuery's data() functions:
Hi,
I'm using jquery 1.3.2 and jquery.validate.js 1.5.5. I read through
the docs, and did a quick search on this list, but didn't find what I
was looking for. I want to have an error message for each rule on a
field when using error labels in the markup. As far as I know, this
can currently be
Hello, the subject describes perfectly what I need.
I have more than one error but I need to display one error (label) per
time..
E.x.:
Name (is empty)
Age (is empty)
- When submit it happens:
Name (appears a label: Error Name Empty)
Age (appears a label: Error Age Empty)
- And I need this:
Seems always begin with ext-gen.
I wonder if I could split the style content into multiple single
attributes
and then use attr() to compare. Based on that, I could create a custom
selector.
Then the question is, for example, I have a style attribute such as
overflow: auto; width: 356px; height:
you should do prepend(...) after html(...).
Doing html you replace all the inner html of the $('.' + errId).
What you do here is to appen the image and then removing it by
changing the html.
The image will be displayed as the first element although you put
prepend as last operation: prepend
hi !
I've resolved my problem like this :
function ajax_test(){
$.ajax({
type: GET,
url: ajax_test.php,
dataType: html,
success: function(data){
anc_pv = $('.pv_act').attr(pv);
}
});
};
thanks all !
hello groupies
1 ) how do i access ajax generated data? i have a select box
populating via another select. like this:
$(select#parent).change(function(){
var path='json.provider.php';
var options = '';
$.getJSON(path,
This works a little bit better, however, it slides still one more than
I want and I cannot access the Menu because it starts to move left
immediately.
Oh, the reason I used a function instead of:
extraParams: {catID:categoryID},
is because the function acts as a callback that will execute right
before the AJAX call to get the updated data for categoryID, otherwise
it will just be the same as the URL, set only on initialization (which
is
If this is in a form and you submit the form to a php page then the
child box value should get submitted as well.
You may need to bind the child box after the ajax loads as well. If
you do it on document.ready then there is no value for the child most
likely...
On Aug 27, 3:55 pm, zodizack
I'm gonna go out on a limb and assume you want them sorted
alphabetically, by span content:
var sorted = $.makeArray($('#names span')).sort(function(a,b){
return ($(a).text() $(b).text()) ? -1 : 1;
});
$('#names').html(sorted);
On Aug 25, 9:14 pm, Audrey Lee audrey.lee.is...@gmail.com wrote:
@tinker - first, as BabBna suggested, don't hijack someone else's
post! :)
second, in relation to your question, here is what you need:
var scripts = document.getElementsByTagName(script);
var thisScript = scripts[scripts.length - 1];
after running this code, the variable thisScript is now a
Does boxes have an ID property ? If not, how could I add one? (this
way I can identify them)
thanks :)
On Aug 21, 2:08 pm, Richard D. Worth rdwo...@gmail.com wrote:
Here's a slightly improved version. Thanks @cioa http://twitter.com/cioa
demo:http://jsbin.com/azare
Right, but that's for the default on-page-load sort, so to speak...
I'm talking about all the other on-demand, on-header-click sorts -
they all default to ascending for some reason...
On Aug 27, 7:12 pm, marksimon zen...@gmail.com wrote:
$(document).ready(function() {
I'm trying to use the Jquery Validation plugin on aspnet mvc
fframework but it doesn't work, when I open the firebug console it
display an error:
jQuery is not defined
[Break on this error] jQuery.extend(jQuery.fn, {\n
I don´t know how to fix this issue an had already added the
jquery-1.3.2.js
Maybe you can take a look at my blog:
http://myprogrammingetc.blogspot.com/
The question is : do you want to filter it in a jquery set (in memory)
or you want to do it directly on the DOM (in the HTML).
On Aug 26, 12:14 am, Audrey Lee audrey.lee.is...@gmail.com wrote:
Hello,
Assume I have 3
$(document).ready(function() {
$(.tablesorter).tablesorter({
sortList: [[0,1]], widthFixed: true, widgets: ['zebra']});
});
the sortList parameter takes two arguments: column, and direction. So
sorting 0,1 sorts on the first column descending. 1,0 would be second
column descending.
Yes, here it is:
http://www.ulmercampus.de/try
This has position:absolute, but position:relative works similar as
mentioned.
Have you tried replacing hover with toggle? The hover seems to just go
nuts for that usage.
On Aug 27, 1:38 pm, Mario sevenartwo...@googlemail.com wrote:
Yes, here it is:http://www.ulmercampus.de/try
This has position:absolute, but position:relative works similar as
mentioned.
Hi all,
I have an inline delete icon on a table of a query, when the delete
button is clicked, i have a dialog popup to confirm the action i then
issue an ajax call to delete the user from the database and then
remove the tr from the table. it all works fine until the dialog is
closed. either
Coded the following in a page :
var ArrayVariable = New Array();
$(document).ready(function() {
$(#inputbox).autocompleteArray(ArrayVariable, {
delay: 10,
minChars: 1,
matchSubset: 1,
onItemSelect: selectItem,
1 - 100 of 113 matches
Mail list logo