That shouldn't happen and a similiar bug was fixed for IE long time
ago. Which browser do you encounter this bug in and which version of
jQuery UI do you use?
--Klaus
On 22 Jul., 19:22, WR wrote:
> It seems that if you change the url of a tab from a remote source
> (ajax request) to a local
Up
On 20 juil, 18:46, Lideln wrote:
> Hi,
>
> Thanks for the answer.
>
> Here is a bit of my script :
>
> [code]
> // Constructing the modal...
> SModule_gallery.oGalleryModal.jqm({modal: true})
> .width((SModule_gallery.GALLERY_COLS *
> (SModule_gallery.GALLERY_ITEM_WIDT
This should work instead of going through all labels.
$('form').validate({
errorPlacement: function(error, element) {
$('label[for="' + $(element).attr('id') +
'"]').addClass('error');
});
}
});
On Jul 23, 4:00 pm, Rizky wr
It all depends on the data that's returning.I believe the exception would
certainly have some data/text that you can use to check if it is an
exception and then conditionally update the appropriate div.
something like :
$(document).ready(function() {
$('.DOFFDelete').click(function() {
Ahh,
Thx for the reply. I get it now :)
But my labels isn't always the previous element before the fields. So
I changed it to suit my markup. Like this:
$('form').validate({
errorPlacement: function(error, element) {
$('label').each(function() {
var field_for = $(this).attr('for');
Hello,
In my code (ASP.NET MVC using Nhibernate) , I do this :
$(document).ready(function() {
$('.DOFFDelete').click(function() {
var id = $(this).attr("id");
$.post("/Customer/DayOffDelete", { customerid:
getCustomerId(), doffId: id }, function(data) {
Hmmm.. I thought superfish was supposed to be sort of supported on
this forum. I kind of was hoping for an answer from the developer.
Charlie wrote:
> curious what makes you want it to become the "defacto solution" yet
> this is second time in 24 hours you've complained about it
>
> Supersubs plu
Read errorPlacement on validate docs.
$(document).ready(function() {
$("form").validate({
errorPlacement: function(error, element) {
$(element).prev().addClass("error");
}
});
});
Input:
On Jul 23, 3:03 pm, Rizky wrote:
> Hi,
>
>
Your code should have been:
$.validator.addMethod('myEqual', function (value, element, param)
{
return value >= $(param).val(); // this works know
}, 'Please enter a greater year!');
On Jul 23, 12:21 pm, Erwin Purnomo wrote:
> Hello all
>
> I have added a method on jQuery
Hi,
I need help with the Validation plugin. I want to disable the
generated error labels and I need to find a way to add the class
"error" to existing form labels instead. Currently I don't use it and
simply want to add highlighting to the existing fields and labels.
My forms already contain fie
Thanks for coming back...I'm having the same problem and your solution
doesn't work for me.
The validation is only triggered during submit event which is fine to
me. I don't like interactive validation as it creates distraction to
the users.
$("form").validate(
{
errorLabelContainer: "#errMsg",
wrapper: "li"
});
On Jul 23, 6:42 am, sleepwalker wrote:
> Hi,
> I have a old script that adds a class to a button/submit/reset based
> on the length of its value and I'd like to convert it to jquery. I'm
> just looking for any suggestions on the best way to rewrite it.
Instead of code, can you provide a concis
Hello all
I have added a method on jQuery validator like this
$.validator.addMethod('myEqual', function (value, element) {
return value == element.value; // this one here didn't work :(
}, 'Please enter a greater year!');
$.metadata.setType("attr", "validate");
$("
Hello,
I'm hoping someone can shed some light on this. I'm setting up a
Wordpress site, using the Pixo Menu Plugin to auto generate the top
menu. It integrated Superfish out of the box.
I'd already designed the site, and successfully adapted the css to
match, using background images for the back
any advices?
Something like this?
function person(name, address) {
this.name = name;
this.address = address;
this.whoAmI = function() {
if (this.creditLimit)
alert(this.name + ' address:' + this.address + 'credit
limit:' + this.creditLimit);
a link to the page where it's happening (or a test page where you
replicate the problem) would help.
On Jul 22, 9:31 am, Diogo wrote:
> Hi,
>
> I am having trouble with the Trigger in JQuery 1.3.2 and IE. It works
> in FireFox but breaks in IE6 and 8.
>
> JQuery.js line 2644
> if ( (!elem[type]
I'm using this plugin 'fullCalendar" (http://arshaw.com/fullcalendar/
docs/) that is a very nice jquery plugin. It has some parameters for
events where the end date of the event is displayed as the day before
the end date of the data that feeds the calendar. Not sure why that is
but I need a worka
$.getJSON(
"url_of_json_request",
function(json) {
$.each(json, function(i) {
json[i] // current top level index
})
}
)
On Jul 22, 7:30 pm, Ajay Sharma wrote:
> even am having issue with a simple GET request using the GETJSON
> method...could anyone please p
you can wrap jquery around the gMaps APi functions to make it easier to
create jQuery interactions from markers to other parts of your page(
click functions etc) , manipulating marker window content, using AJAX
etc. The mapping functions like drag markers are done using gMaps API.
What is you
even am having issue with a simple GET request using the GETJSON
method...could anyone please provide me with the sample code ?
On Thu, Jul 23, 2009 at 4:58 AM, MorningZ wrote:
>
> "I want to parse it with jquery , I searched in the web but it's seems
> my json file is a bite complicated"
>
> Wh
"I want to parse it with jquery , I searched in the web but it's seems
my json file is a bite complicated"
What is that supposed to mean? *what do you want to accomplish?* "i
want to parse" doesn't really mean anything
and other than there are a lot of characters, there's nothing overly
compl
Hi,
I want to know if this can be done using jQuery and Google Maps.
In my website I have a Google map where users could add new markers
with a description on it and the marker they put would be permanent on
my map, meaning if they comeback they would still see the markers they
added.
I also wa
What exactly do you want to do? How is the JSON content stored? In a
separate file? On the document?
Is it introduced through jQuery's getJSON()? Is it stored as a string
in some variable?
On Jul 22, 5:17 am, Abraham Boray wrote:
> As U can see guys , I got that json structure , & I want to pars
#myLocalContentDiv is not a URL so how can you construe this as a bug?
Your best bet is to ask fo help on the jQuery UI list which focuses on
UI issues but you will need to provide more info than what you've
presented here. What do you mean by "change the URL"? for example. A
simplified break
Hi,
I have a old script that adds a class to a button/submit/reset based
on the length of its value and I'd like to convert it to jquery. I'm
just looking for any suggestions on the best way to rewrite it.
Thanks in advance for any help
function setbuttonclass()
{
if(docu
I can't put autocomplete working with dynamic textboxs. I have a
javascript function to add dynamic textboxs, but when i attach the
autocomplete function to the dynamic textboxs, it doenst work.
Some work that might help this issue:
// Javascript function that adds dynamicly textboxs
var initia
As U can see guys , I got that json structure , & I want to parse it
with jquery , I searched in the web but it's seems my json file is a
bite complicated :S
here is the picture more clear thatn the file down !
http://www.zshare.net/image/63013802b34a7372/
Here is my plane JSON file
[{"Post":{"
Hi there,
I'm trying to get my Superfish menu to display the instant that I
hover over it. However there is a slight pause before the menu is
displayed. I am using supersubs as well, this is the set-up call I am
using.
$(document).ready(function(){
$('ul.sf-menu').supersubs({
minWi
Hi,
I am having trouble with the Trigger in JQuery 1.3.2 and IE. It works
in FireFox but breaks in IE6 and 8.
JQuery.js line 2644
if ( (!elem[type] || (jQuery.nodeName(elem, 'a') && type == "click"))
&& elem["on"+type] && elem["on"+type].apply( elem, data ) === false )
The elem[type] give a "
I almost have this I am just stuck. I have two dropdowns. The first
one determines what goes in the second on.e When I select the first
one, it has an onChange event and it calls an action which returns my
data. I have no idea on how to make this data update my second
dropdown box.
Should the dat
I discovered it today as well, after a much too long bug-finding
journey, anyone else?
If you go here,
http://demo2.analoganalytics.net/publishers/7/offers
and click on Email and Txt for any coupon offer, I would like to
duplicate that exactly on my page. By looking at their script, it
looks like they're using Prototype.
However, I'm new to jQuery and wondering can the almost exa
Hi,
I have a form that includes four text fields for phone numbers:
Business, Home, Cell and Fax
A user must fill in at least one phone number.
How would I set up the validation for this?
Cheers
It seems that if you change the url of a tab from a remote source
(ajax request) to a local source
i.e. ('#myTabs').tabs('url', 1, '#myLocalContentDiv');
When you then click on this tab, it makes an ajax request (to
http://myURL/#myLocalContentDiv) rather than simply showing the local
content. Th
I've done this, perhaps not the best way. Seems to work. See below.
Add this method to the validator object:
$.validator.addMethod("notEqualTo",function(value, element, params) {
return this.optional(element) || value != params;
});
And then add the rule:
$("#form_id").validate({
ru
Hello over there! The problem is:
when I start hovering in and out very fast, the new div block appears
before previous one dissapears.
How to get rid of that effect?
I heard that there is stop() event, how to implement it in the current
situation? I tried to put it before animate, but that doe
I have a layout with a resizable div which works fine initially. When
I load some html in to the resizable div I can no longer resize the
div even though when i look at the div in firebug the div still has
the resizable classes added to it.
I dont think it is a css issue from my testing.
What do
Hi James,
I know how long the movies are and can activate the button som e20-30
seconds before each part ends.
This worked so thanks alot!
/Mats/
On Jul 22, 10:19 pm, James wrote:
> window.setTimeout(function() {
> $('#main-nobut').hide('slow');
> $('#main-but').show('slow');
>
> }, 500
Thanks, that worked like a charm :)
On Jul 22, 2009, at 12:42 PM, Eric Garside wrote:
Don't use document.write
If you're using jQuery, you can insert the text using jQuery's "html"
function.
On Jul 22, 3:08 pm, Greg Evans wrote:
Thanks for all the help everyone, the last problems are solve
window.setTimeout(function() {
$('#main-nobut').hide('slow');
$('#main-but').show('slow');
}, 5000);
5000 is 5000ms, or 5 seconds.
Do you have a way to retrieve this time on when you want it to appear?
On Jul 22, 9:57 am, Mats wrote:
> How do I bind this in with the show/hide using jQue
yes, that actually sounds simple. let me give a try.
On Jul 22, 11:54 am, FrenchiInLA wrote:
> is up to you how you would like to make your json format, but you can easily
> loop between your table's row, and td then add the format you like.
> something like:
> var $table = $('#tableid');
> $('t
Just stepped over to http://plugins.jquery.com/search/node/editor -
lots and lots of choices - and if to judge by the dates, many new
offerings. I'm hoping someone can help me narrow down the field
according to these priorities...
Stability & Well-formed XHTML (might argue against some of the mo
How do I bind this in with the show/hide using jQuery ?
$(document).ready(function(){
$('#main-but').hide();
// This step should be Triggered one time afer X minutes
$something(){
$('#main-nobut').hide('slow');
$('#main-but').show('slow');
});
});
On Jul 22, 12:58 am, He
Thanks, Liam...I decided to the jQuery UI. It's working well.
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Liam Byrne
Sent: Wednesday, July 22, 2009 3:08 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Should this work?
Th
Thanks for all the help everyone, the last problems are solved and a
new one has cropped up.
I now have all the proper variables passing where they need to go,
etc, which, seems like a miracle considering my inexperience with js
and jQuery :) but hey, the listmembers have been great, so h
Think there's a color plugin that will make this work ?
http://plugins.jquery.com/project/color
L
Rick Faircloth wrote:
NM…”Only properties that take numeric values are supported (e.g.
backgroundColor is not supported).”
*From:* jquery-en@googlegroups.com [mailto:jquery...@googlegroups.co
Yes, it does. Thanks.
On Jul 22, 2:49 pm, Michael Lawson wrote:
> Np, let me know if that works for you!
>
> cheers
>
> Michael Lawson
> Development Lead, Global Solutions, ibm.com
> Phone: 1-276-206-8393
> E-mail: mjlaw...@us.ibm.com
>
> 'Whether one believes in a religion or not,
> and whet
Hi everybody,
i am having trouble getting the autogrow.js plugin to work properly in
all versions of IE (of course!) and Opera.
plugin link: http://plugins.jquery.com/project/autogrow
Opera just seems to make the textareas ridiculously tall for some
reason, but IE actually throws up a scripting
Np, let me know if that works for you!
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
E-mail: mjlaw...@us.ibm.com
'Whether one believes in a religion or not,
and whether one believes in rebirth or not,
there isn't anyone who doesn't appreciate kindness
Thanks. I've been looking for an example of this for a long time.
On Jul 22, 2:33 pm, Michael Lawson wrote:
> No, i was thinking something like this
>
>
> function getDirectorIds() {
> var result = "";
> $(".chkDirector:checked").each(function() {
> result = result
What I want to do is simples, or at least I thought it was.
I need to show a #loading div for GET requests and a #saving div for POST
ones. I then realized that the ajaxStart/Stop callbacks do not receive any
parameter (at least it's what is stated on the API Reference)... If it
received a "request
No, i was thinking something like this
function getDirectorIds() {
var result = "";
$(".chkDirector:checked").each(function() {
result = result + $(this).val() + ",";
});
// place the selected id_individual values in the label
control lblCheckedDirecto
Is this the right way to do it ?
// this gets all of the director id_individual values
$(document).ready(function() {
function getDirectorIds() {
var result = "";
$(".chkDirector:checked").each(function() {
result = result + $(this).val() + ",";
Hi
I'm not sure how to approach this. I want to toggle each div with a
checkbox or hyperlink which shows/hides every div where the RelStatus
value = 'retired'. I'm able to see the value of each RelStatus value
using the code below. The id of each div and the RelStatus value of
each span is set s
How odd, I never would have thought to include that but it worked
perfectly.
This issue was actually only present in FireFox/Safari, IE handled it
as expected (a first for me).
- Derek
On Jul 22, 11:21 am, gil wrote:
> Hi,
> This could worke, try adding this to the div style overflow:hidden
Can you provide sample code or a link?
Thanks
On 22 jul, 00:51, acatejr wrote:
> I am using the jQuery datepicker. When the user selects an item in a
> drop down list box the selectable dates in the calender in the
> datepicker get updated with all selectable dates associated with the
> select
Hi,
This could worke, try adding this to the div style overflow:hidden
Ex:
Regards
On 22 jul, 01:22, sccr410 wrote:
> http://www.erikaashauerphoto.com/blog/
>
> At the end of each post there is the link to the comments, clicking
> uses the jQuery toggle() function. This works perfectly to sho
Try the first link it mentions a JS function that could help you
convert pixels to ems
On 21 jul, 18:16, FirefoxRocks wrote:
> I don't need to manually convert stuff, I need the retrieve a value of
> ems from the jQuery or otherwise use a function to convert from pixels
> to ems.
>
> On Jul 21,
Thanks a bunch. I didn't even notice that I had forgot to close stuff,
I am sure that error would have been glaring out at me had I paid
closer attention. :)
Next question, and I am now going to make an ass of myself more than I
already have and assume that this part actually does relate
On Jul 22, 12:08 pm, Charlie wrote:
> http://plugins.learningjquery.com/expander/
> I've had good success with it
> sso wrote:I posted a while ago about the Truncate plugin not preserving html
> links in FF. I like the plugin, but it needs to present properly in FF. I
> couldn't figure it out
http://plugins.learningjquery.com/expander/
I've had good success with it
sso wrote:
I posted a while ago about the Truncate plugin not preserving html
links in FF. I like the plugin, but it needs to present properly in
FF. I couldn't figure it out and nobody responded.
Is there any ot
is up to you how you would like to make your json format, but you can easily
loop between your table's row, and td then add the format you like.
something like:
var $table = $('#tableid');
$('tr', $table).each(function(i, item){
// here you can add whatever you like for each TR, then you can b
What exactly do you like to do? Ajax call do not Post back, but Call back. do
you like to post back in .net application? just call the javascript
__doPostBack('Yourcontrol','ypurArgument');
gladrinkz wrote:
>
>
> can ant one tell me or give me some shot example regarging jquery ajax
> post ba
Maybe you should pull the definition of the function out of the document
ready definition?
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
E-mail: mjlaw...@us.ibm.com
'Whether one believes in a religion or not,
and whether one believes in rebirth or not
Thank you. The Firebug suggestion was helpful. The error message is
saying that getDirectorIds() is not defined.
// make sure at least one checkbox is checked
function validateSubmit() {
if( $("input:checkbox:checked").length == 0 ) {
alert( "Please select at least one section for your PDF pro
I posted a while ago about the Truncate plugin not preserving html
links in FF. I like the plugin, but it needs to present properly in
FF. I couldn't figure it out and nobody responded.
Is there any other plugins that provide similar funcationality?
Thanks! :)
Hello
Check out this demo http://jquery.bassistance.de/validate/demo/marketo/
- Original Message -
From: "pocket"
To: "jQuery (English)"
Sent: Sunday, July 19, 2009 11:00 AM
Subject: [jQuery] JQuery Message with Validate Plugin
I am currently using the validate plugin and I need
notice:
if i do an alert() with the response just before i update the content
of the div, everything works fine...
On Jul 22, 1:58 pm, Daniel wrote:
> Hi everybody!
>
> I want to update the contents of several divs periodically with the
> response i get from a php-script. the number of divs is c
Thanks!
I had no idea the overflow property even existed. You've saved me a
lot of head scratching.
Cheers,
Simon
On Jul 22, 4:49 am, Paul Mills wrote:
> Hi,
> Try this.
> Add overflow:hidden to #box and then animate the left of #innerbox:
>
> #box{
> width:800px;
> height:400px;
> borde
Thanks, Richard.
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Richard D. Worth
Sent: Wednesday, July 22, 2009 8:59 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Should this work?
jQuery UI Effects has color animation support:
http://docs.jquer
Sorry i forgot to add it.
The button is placed before the dialog div.
Carlo
On Tue, Jul 21, 2009 at 2:43 PM, Mean Mike wrote:
>
> Carlo buddy where is the button with the id that your looking for ?
>
> On Jul 21, 5:06 am, Carlo Landmeter wrote:
>> I'm not able to send the whole html but i ca
can ant one tell me or give me some shot example regarging jquery ajax
post backs or related some documents it will great help for me
Thanks in Advance
gladrinkz
jQuery UI Effects has color animation support:
http://docs.jquery.com/UI/Effects/animate
http://jqueryui.com/demos/animate/
- Richard
On Tue, Jul 21, 2009 at 8:56 PM, Rick Faircloth wrote:
> NM…”Only properties that take numeric values are supported (e.g.
> backgroundColor is not supported).”
I don't know if anyone has worked on doing this using methods or event
triggering, but you could certainly do it the way we do in unit tests -
simulate the drag on the resize handle. We use the simulate plugin for that:
http://jqueryjs.googlecode.com/svn/trunk/plugins/simulate/jquery.simulate.js
the details you want to display can also be contained elsewhere if you
want by using the index of the current slide to match the index of
another set of containers
function onAfter(curr, next, opts) {
var index = opts.currSlide;
// use index to refernece other contai
I realized that using the engfer(s)´s module pattern (http://
www.engfers.com/code/javascript-module-pattern/) i can access only
using "async:false" attribute for the ajax call. If i use the
"async:true" i don´t get the params. But it is not a well done
practice.
Try checking for 28 instead of 13
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
E-mail: mjlaw...@us.ibm.com
'Whether one believes in a religion or not,
and whether one believes in rebirth or not,
there isn't anyone who doesn't appreciate kindness and
jCarousel: No width/height set for items. This will cause an infinite
loop. Aborting...
i am geetting the above error msg can anybody help me
Hi there,
I am using jquery to make a Comet chat client. But I have problems to
detect "press enter" event on Linux. It's really strange. The same
code runs well on windows:
j.input.bind("keydown", function(l) {
if (l.keyCode == 13) {
//doing some stuff h
hi, i'm new to jquery and i was wondering how i can use it to convert
an html table into a json format. i found a lot of help for doing the
reverse (json to html table) but couldn't get much help with this one.
thanks a lot in advance.
Hi everybody!
I want to update the contents of several divs periodically with the
response i get from a php-script. the number of divs is changing
depending on what the user has chosen before. i store the variable
part of the ids in a hidden input field. this input field may look
like this:
to
you're php always assigns current page class to Home
"current_page_item">Home
try this:
>Home
if you use the pathClass option properly you can shorten the superfish
constructor
$('ul.sf-menu') .superfish({
pathClass : 'current_page_item'
delay: 500,
speed: 'f
Hi All
I tried to add functions to an object like
function User(n, a) {
this.name = n ;
this.aux = a ;
}
function auxis() {
alert(this.aux);
}
$(document).ready( function() {
var u = new User("Jack") ;
u.extend({
lol forgot to close the tags myself...
document.write("");
or
document.write("");
On Jul 22, 7:22 am, p_W wrote:
> I'm not quite sure about your question, but I will say that I see some
> problems with your code...
>
> In the document.write(); function, I see 2 main problems...
>
> one is
I'm not quite sure about your question, but I will say that I see some
problems with your code...
In the document.write(); function, I see 2 main problems...
one is that it doesn't look like you are closing your
tags...after the input tag you should add
The other is in the name="" attribute o
Hi, my problem is due to the scope. Using the module pattern following
the Eric´s design explained on the Amazon Books widget example(http://
net.tutsplus.com/tutorials/javascript-ajax/create-an-amazoncom-books-
widget-with-jquery-and-xml/) we have something similar to this:
var BOOKS = function(
There is no built-in support for that, so you need to write a custom
method: http://docs.jquery.com/Plugins/Validation/Validator/addMethod
Jörn
On Wed, Jul 22, 2009 at 11:20 AM, Mahmoud M.
Abdel-Fattah wrote:
>
> I've 2 inputs (email & website) and using Validate Plugin. I want to
> check if the
I've 2 inputs (email & website) and using Validate Plugin. I want to
check if the email is on same domain .
Bug fix for more than two tabs
$('#tabs').tabs({
select: function(event, ui) {
// GET AND SET OBJECT PARAM VALUE AND STORE IN STANDARD HIDDEN
INPUT
WHEN SELECTING TABS
content = $("#content").val();
if(ui.index==0) { // SET
Hi,
Try this.
Add overflow:hidden to #box and then animate the left of #innerbox:
#box{
width:800px;
height:400px;
border:1px solid #444;
overflow:hidden;
}
$("#toggle").toggle(function(){
$("#innerbox").animate({ left: '180px' }, 'slow');
},function(){
$("#innerbox").animate({ left: '0
Thanks a lot gil, tried it and it worked immediately!
Thanks again!
On Jul 21, 4:02 pm, gil wrote:
> Hi Koos,
>
> It might be this:
>
> When you open the pop up it adds some divs, but there is one that
> doesn't disappear when you click exit.
>
> Disable the div with id=overlayButtonPlaceholder
http://www.erikaashauerphoto.com/blog/
At the end of each post there is the link to the comments, clicking
uses the jQuery toggle() function. This works perfectly to show the
comments below, but clicking on the link again does not hide the
comments as expected.
This is using jQuery in noconflict
94 matches
Mail list logo