Thank you so much, Adriana. With the information you've given me, I
have fixed the problem. I am so grateful.
Best,
Rory
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, wher
$("form").validate(
{
rules: {
legal_status_comment: {
required: function(element) {
return $
("[name=legal_status]:checked").attr("id") == "other_radio";
}
The click method has only one argument - the funcion that is going to
be executed on every mouseclick.
Also, you can use the show and hide methods as shortcuts for
manipulating the display property.
The toggles method toggles the display property between the states
"hide" and "show".
$('#top-bar
Thank you, you have help out so much
On Jan 6, 2010, at 6:14 PM, Šime Vidas wrote:
> If you want to manipulate with the DIV inside the $.get function, you
> can declare a local variable and put the reference to DIV in it...
>
> (function($) {
>$.fn.myPlugin = function() {
>
>
If you want to manipulate with the DIV inside the $.get function, you
can declare a local variable and put the reference to DIV in it...
(function($) {
$.fn.myPlugin = function() {
this.each(function() {
alert(this.id);
var
this refers to different objects depending on where we are in the
code...
(function($) {
$.fn.myPlugin = function() {
// here "this" refers to the jQuery object on which the myPlugin
method was called upon
this.each(function() {
// here "this" refers to the matched elem
Sorry for the double post, just forgot to add the code.
Thats perfect, I think the eq(0) is what I was missing on my earlier
attempts
Much thanks, Leonardo!!
On Dec 14, 6:52 am, Leonardo K wrote:
> function togglePassFail(radioName) {
> var buttonGrp = document.getElementsByName(radioName);
> var radioValue = $(buttonGrp).filter(':checked').v
I've made some progress on resolving this issue, and all I have left
to fix is the following:
> 2) When I mouseover the sublinks -- I'd like for the "Resources" link
> text to remain white (instead of turning blue)
> 4) In IE -- the left edge of the subnav list doens't line up wih the
> left e
Easier yet, give your UL an ID then
$('#myID li a').click(function() {
$('#myID li a').removeClass("bg");
$(this).addClass("bg");
});
--Greg
On Dec 10, 1:56 am, Bideshi wrote:
> i've a little issue related to siblings in jquery,
> i'm using sibling to deselect the previous selected link after
> clicking on the new link, but it's now working,
> please let me know where i'm missing.
> [ ... ]
> $("a").click(function(){
>
Sorry to ask a silly question like this. I solved this . Here goes the
modified script :
$('#addEmployee').click(function(){
$.ajax({
url: 'searchEmployee.do?method=searchEmployee',
type: 'GET',
data: {employ
It is of course possible, you have to simply redirect the user from the
server to the right page.
If in the the first scenario you have a page like 'search.php' and your form
is submitting the data to it, and your doing the search on server side and
displaying it on the same page, then in that case
If you can't or don't want to add a table footer, you can pass the
sorter a selector that excludes the last row. The last sorter I looked
at didn't allow you to pass the selector in so I had to modify the
source.
On Jul 31, 10:08 pm, aquaone wrote:
> http://www.w3schools.com/tags/tag_tfoot.asp
>
http://www.w3schools.com/tags/tag_tfoot.asp
On Fri, Jul 31, 2009 at 07:36, Razor M wrote:
>
> Is it possible to do some changes so that the bottom row will not be
> included while doing the sorting?
>
> Suppose I have totals in the bottom row, so I do not want that row to
> be
> sorted while us
Opps,
Sorry, didn't realise request and settings are not available on
ajaxSend and ajaxStop. So, my proposed solution is not working.
May be a dumber solution
var isFaceBox = true;
$(document).ready(function(){
$(document).ajaxSend(function(event){
if(!isFaceBox)
{
$('body > div.
Can't you check the settings.url?
$(document).ready(function(){
$(document).ajaxSend(function(event, request, settings){
if(settings.url != 'faceboxurl') // replace faceboxurl with the
real url
{
$('body > div.container').fadeTo('normal', 0.33);
$('#loading').show();
}
});
Anyone?
On 20 jul, 12:34, Rodrigo Tassinari de Oliveira
wrote:
> Hello everyone,
>
> I'm stuck with an annoying problem in this webapp I'm developing.
>
> I've created a small code to be called automagically on every ajax
> request, which shows a "loading..." div overlay while the ajax request
>
Where am I placing the link for each tag? Are the link identified in
the JS or the html?
E
On Jul 4, 2009, at 10:18 AM, Charlie wrote:
I gave you slideUp twice...oops...bad copy paste
Erik R. Peterson wrote:
Thanks Charlie,
I'll put it in now. thanks.
E
On Jul 4, 2009, at 9:56 AM,
I gave you slideUp twice...oops...bad copy paste
Erik R. Peterson wrote:
Thanks
Charlie,
I'll put it in now. thanks.
E
On Jul 4, 2009, at 9:56 AM, Charlie wrote:
could shorten this all up
and make it accessible for _javascript_ disabled by putting the
Thanks Charlie,
I'll put it in now. thanks.
E
On Jul 4, 2009, at 9:56 AM, Charlie wrote:
could shorten this all up and make it accessible for javascript
disabled by putting the url into the href of your links.
Haven't looked at plugin but since you're just loading html will use
load()
could shorten this all up and make it accessible for _javascript_
disabled by putting the url into the href of your links.
Haven't looked at plugin but since you're just loading html will use
load() in jQuery core:
hideLoading();
$("#cs_links a").click(function () {
showLoading();
Can;t get it to work correctly.
Here is my existing code:
$(document).ready(function(){
//References
var sections = $("#cs_links a");
var loading = $("#loading");
var content = $("#cst_wrap_mid");
//Manage click events
sections.click(function(){
Works great...
Would you be able to show me how to make the links change via css
after selected?
Erik
On Jul 4, 2009, at 6:40 AM, MOZ wrote:
Hi,
on your page: http://www.enaturalskin.com/needhelp.htm
each time the window scroll to the top because of anchor #, use
preventDefault(); to
Hi,
on your page: http://www.enaturalskin.com/needhelp.htm
each time the window scroll to the top because of anchor #, use
preventDefault(); to avoid this, just a suggestion.
Also see the improved version:
http://yensdesign.com/2009/06/safe-ajax-links-using-jquery/
This trick will make your web
Hi buddy!
I'm undecided on the final buttons and graphics, but thanks to your
help I got the script down.
I actually fixed my own problem after posted this last email.
Have a great weekend.
Erik
On Jul 3, 2009, at 5:14 PM, Cesar Sanz wrote:
Hello.
I see you succed retrieving data u
Hello.
I see you succed retrieving data using ajax,
Which is the problem?
- Original Message -
From: "Erik R. Peterson"
To:
Sent: Friday, July 03, 2009 2:48 PM
Subject: [jQuery] Need help on How to load content via AJAX in jQuery
I found this script:
http://yensdesign.com/2008
http://www.reynoldsftw.com/2009/03/using-jquery-and-ajax-to-create-php-sessions/
important set your session up before anything else on the page or php
errors
On Jun 24, 3:50 am, bharani kumar
wrote:
> Hi ,
> Am very much confusion in php login session tracking ,
>
> This is my requirement ,
Hi all ,
Its very urgent one ,
Can some one tell me using jquery login form,
On Wed, Jun 24, 2009 at 2:20 PM, bharani kumar <
bharanikumariyer...@gmail.com> wrote:
> Hi ,
> Am very much confusion in php login session tracking ,
>
> This is my requirement ,
>
> Am doing travel booking portal ,
Thanks for the tip and also the cycle plugin - It works great!
-- Forwarded message --
From: Mike Alsup
Date: Jun 16, 4:17 pm
Subject: Need help cuz I don't get 'this'
To: jQuery (English)
> $(this).find('img').attr('src');
jQuery selectors accept a 2nd argument for context,
> $(this).find('img').attr('src');
jQuery selectors accept a 2nd argument for context, which makes this a
bit more readable, imo:
var src = $('img',this).attr('src');
>From a different forum I got this which works:
$(this).find('img').attr('src');
On Jun 16, 11:18 am, Logictrap wrote:
> I'm using the jqery cycle plugin with an onAfter & OnBefore function.
>
> These functions process the current div as 'this' - what I sent was
> the code in my div that is get
I'm using the jqery cycle plugin with an onAfter & OnBefore function.
These functions process the current div as 'this' - what I sent was
the code in my div that is getting passed as 'this'.
I can see that using children is the way to get the attribute I want,
but I don't quite understand how to
I don't think you understood what code to show
what you need to show is what is wrapped around your initial post's
code so that it will be easier to help you understand "this"
On Jun 16, 8:18 am, Logictrap wrote:
> Thank you that worked!!!
>
> I think I may understand how to use children if yo
Thank you that worked!!!
I think I may understand how to use children if you could also show
how to get the img src attribute when 'this' contains:
http://www.test.org"; target="_blank">Test Logo
Thank you that worked!!!
I think I may understand how to use children if you could also show
how to get the img src attrbitute when 'this' contains:
http://www.test.org"; target="_blank">Test Logo
On Jun 14, 9:25 am, Erik Beeson wrote:
> Like MorningZ said, m
Like MorningZ said, more info would be helpful, but this should work:
$('#output').html('SRC: ' + $(this).children('img').attr('src'));
--Erik
On Sun, Jun 14, 2009 at 7:02 AM, Logictrap wrote:
>
> I need to get the src attribute of an img element that is a sub-
> element of 'this' but I can't
Can you show more code around the ".html" statement? this will help
others better help you understand what "this" is in that context
On Jun 14, 10:02 am, Logictrap wrote:
> I need to get the src attribute of an img element that is a sub-
> element of 'this' but I can't figure out how to traver
Try this:
Remove the href params, instead change the loadContent param to an id or
class, like this:
then change your javascript to:
$(function(){
$('li a').click(function(){
id=$(this).attr('id');
$("#content").load("pages.php?o="+id+"");
return false;
});
});
2009/6/3 nanook72
bump
On Jun 3, 6:49 am, nanook72 wrote:
> Hi all,
>
> I need help with manipulating two div's, one holds the main content
> and the other holds the images matching that content. Right now I
> have the menu changing the content of the main div just fine, however
> I do not know how to change the
I didn't look too closely at the files, but I suggest separating your
data from the executing code. Use JSON to create a series of data
objects and use a different script to run through those objects and
build your page based on search criteria, etc.
>From what I saw in cruise_json.js, there's a
thanks tony, but is not loading the results ... and no error
On 17 Abr, 15:36, Tony wrote:
> Hello,
> The version of jquery 1.3.1 that you use is not compatible with
> jqGrid version 3.4
> Download the latest 3.4.3 version of jqGrid
>
> On Apr 17, 2:51 pm, Led wrote:
>
>
>
> > tony , check tha
Hello,
The version of jquery 1.3.1 that you use is not compatible with
jqGrid version 3.4
Download the latest 3.4.3 version of jqGrid
On Apr 17, 2:51 pm, Led wrote:
> tony , check that is not that.
>
> On 17 Abr, 11:46, Tony wrote:
>
> > Hello,
> > Already replayed. Please check your code - yo
tony , check that is not that.
On 17 Abr, 11:46, Tony wrote:
> Hello,
> Already replayed. Please check your code - you have a unneeded coma in
> colModel
> Regards
> Tony
>
> On Apr 17, 1:33 pm, led wrote:
>
>
>
> > I' m trying to use the jquery jqGrid plugin but i can't see it working
> > with
Hello,
Already replayed. Please check your code - you have a unneeded coma in
colModel
Regards
Tony
On Apr 17, 1:33 pm, led wrote:
> I' m trying to use the jquery jqGrid plugin but i can't see it working
> with ASP code.
> this is the xml generated file.
>
>
>
>
> 114
>
> 1
don't over complicate things, the selection is a simple string, treat
it like any other string concatenation done in JavaScript
$("div#mainnav .mainnav[alt='" + selectid + "']")
thats
$ ( double-quote div#
alt = single-quote double-quote + selectid + double-quote single-
quote ] double-quote
hey,
http://groups.google.com/group/jquery-en/browse_thread/thread/f6cf0516dacdab18
$(xml).find('row').each(function(index, obj){
document.write($(obj).html() + "");
});
this would work w/ out the CDATA.
On Mar 18, 3:27 pm, slgm wrote:
> hi,
>
> I've looked through at awfaul lot of posts/ar
I will definitely add sprites though, I forgot to mention that. Thanks for
that suggestion.
--
View this message in context:
http://www.nabble.com/Need-Help-with-changing-css-on-an-object-tp22394562s27240p22405565.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
phpbutcher wrote:
>
> Charlie is absolutely right. You can simplify it by using the
> css :hover to do your rollover states. You still however need to do
> something on top of that to handle the current problem you're having
> with it keeping the state change when a user clicks on
> one of the
Chris
Charlie is absolutely right. You can simplify it by using the
css :hover to do your rollover states. You still however need to do
something on top of that to handle the current problem you're having
with it keeping the state change when a user clicks on
one of the nav elements. That's reall
good case of trying to add a bunch of script when simple css works.
Spriting the menu images into one (with or without the text included on
each part of image), adding a :hover in css avoids an unnecessary
server request for another image and works if scripting disabled
junk.mail...@gmai
Hi Chris
My suggestion to your problem will involve a few changes to your
structure, but I don't think they should be too bad for you to pull
off.
Since the texts in your nav don't change on rollover, I would make
them a separate image all together. Then you could make just 2
different backgroun
Put your checkboxes inside some container to distinguish them from
check all checkbox. Secondly, amend your ajax post function so it
takes a set of id's. The rest is pretty clear...
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Tue, Feb 24, 2009 at 3:47 PM, heohni
wr
My knowledge of the ajax functions of jquery are rather limited to be
honest, I deal with the frontend aspects mainly.
I don't know if this would work, I assume it would. There are a few
regulars on this list who could help you with this a lot better then I can.
$.ajax({
type: "GET",
ur
Ok, but what would the statusText print out ? And is there any way I can
customise the message ?
On Thu, Feb 12, 2009 at 2:35 PM, Liam Potter wrote:
>
> $.ajax({
> type: "GET",
> url: "some.php",
> data: "name=John&location=Boston",
> success: function(msg){
> alert( "Success" );
> }
> er
$.ajax({
type: "GET",
url: "some.php",
data: "name=John&location=Boston",
success: function(msg){
alert( "Success" );
}
error: function(emsg){
|alert(xhr.statusText);
}|
});
|
|
Jack Mack wrote:
But how would I handle the error messages ? I have custom errors for
each of the
But how would I handle the error messages ? I have custom errors for each of
the server errors. Then I have a functionality error handler if the server
code prints out an exception in XML.
On Thu, Feb 12, 2009 at 2:25 PM, Liam Potter wrote:
>
> $.ajax({
> type: "GET",
> url: "some.php",
> data
$.ajax({
type: "GET",
url: "some.php",
data: "name=John&location=Boston",
success: function(msg){
alert( "Success" );
}
});
this isn't a direct translation of your js to jquery but this shows the
principle.
shapo wrote:
Hi Guys
I am having a tough time getting the hang of jQu
Ah, good catch. I forgot that the text is used as a value when no
value-attribute is provided. Good to know you got it working!
Jörn
On Tue, Feb 3, 2009 at 3:10 AM, Kathryn wrote:
>
> Jörn,
>
> Many thanks for the clarification and tip. When I removed the value
> attribute completely, it didn't
Jörn,
Many thanks for the clarification and tip. When I removed the value
attribute completely, it didn't work, but when I left it in with no
value, the error message came up as expected. The code below works.
Thanks again--
Kathryn
--Select One--
Feb 16 - 20, 2009
Mar 16 - 20, 2009
Apr 13 -
Dropdowns are supported just fine. Just remove the value attribute
from the "select one" option and add a required rule for the field.
See also
http://jquery.bassistance.de/validate/demo/radio-checkbox-select-demo.html
Jörn
On Sat, Jan 31, 2009 at 7:59 PM, Kathryn wrote:
>
> Hi all,
>
> I'm us
Tried on chrome and ie. Mouse was on first menu item while loading.
Showed up and worked just fine afterwards.
Try to clear your cache or something... maybe your browser is reading
from the cache or like I once had this most stupid mistake of mine
when I was correcting local file and refreshing m
And here's the URL again:
http://dl.getdropbox.com/u/21984/menu_test/menu_test.html
On Jan 10, 11:56 am, "jQuery Lover" wrote:
> I suggest you take the other way. We shall not forget about beloved
> CSS :) Try this:
>
> $(document).ready(function(){
> $('#nav li')
> .bind('mouseenter mous
I implemented your fix and unfortunately, the issue remains.
To further demonstrate the problem, I've added some YouTube videos to
the page to simulate the Flash components I have on my main example.
Now, if you load the page, and then the on one of the main menu items
to reload the page, keep yo
Hi,
It seems easy to do, you could also do it with a hash to simply
things, but that would make data visible.
My hourly rate is R$30, which amounts to around £9. Available from
monday morning :)
cheers,
- ricardo
On Jan 9, 4:55 pm, cogible wrote:
> My problem is simple to state. I want an HTM
I suggest you take the other way. We shall not forget about beloved
CSS :) Try this:
$(document).ready(function(){
$('#nav li')
.bind('mouseenter mouseleave', function(){
$(this).toggleClass('menu-on');
});
});
In your CSS file add:
#nav div{
display:none;
Sorry, very new to Jquery (and not that skilled at js to begin with).
I think I follow what you are saying, but not having a good grasp of
the jquery syntax, I'm not sure exactly how to properly execute.
Here's what I came up with, but it's not working, so I know there's a
problem somewhere, but
@serpicolugnut: read my previous post!!!
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Fri, Jan 9, 2009 at 7:06 PM, serpicolugnut wrote:
>
>
> I've got a full width drop down menu setup, using jquery's toggle to
> show/hide the hidden divs when the user clicks on the one
Introduce some variable that tracks the current menu state.
$(document).ready(function(){
var menuOn = false;
$("li.main-nav").children('div').hide();
$("li.main-nav").bind("mouseenter mouseleave", function(){
...
});
});
And then, in your bound function check with "if" statement if
--- On Fri, 12/19/08, yvonney wrote:
> From: yvonney
> Subject: [jQuery] Need help to decide on SWF/FLV/SIFR plugin - a bit unsure,
> for sure!
> To: "jQuery (English)"
> Date: Friday, December 19, 2008, 8:43 PM
>
> Hi all!
>
> [OBJECTIVE: need best solution to have flash (and perhaps
> l
OK, so I'm nearing the final stages with this project. Here's what I
have, and what I need. Hopefully someone can help me here because I'm
at a point where I can't test certain things.
When an image is selected from the thumbnails, I have a script that
resizes the image to 50% viewport size and
Thanks for the perspective, Mike.
Rick
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
> Behalf Of Mike Chabot
> Sent: Thursday, December 11, 2008 10:16 PM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: N
Original Message-
>> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
>> Behalf Of Mike Chabot
>> Sent: Thursday, December 11, 2008 9:20 PM
>> To: jquery-en@googlegroups.com; cf-t...@houseoffusion.com
>> Subject: [jQuery] Re: Need help with Ajax-Col
9:20 PM
> To: jquery-en@googlegroups.com; cf-t...@houseoffusion.com
> Subject: [jQuery] Re: Need help with Ajax-ColdFusion-Modal Login...
>
>
> I don't think Shadowbox is very common since it costs money and most
> of the jQuery modal windows are free. If you are paying m
I don't think Shadowbox is very common since it costs money and most
of the jQuery modal windows are free. If you are paying money for it
you should try to get support from the person that sells it. Some of
the other modal windows have great examples, like Thickbox. Maybe try
a modal window that h
Yeah I forgot to include that part... sorry about that. That's right
here
getImage: function(href2view)
{
$("#loadingAnimation").css({position: 'absolute', top: '50%', left:
'50%'}).show();
var imageLoader = new Image();
$(imageLoader).load(function()
{
I am not seeing where you are setting the galleryObj.currentSrc when
the user clicks on next / prev. may be that is the problem.
On Dec 10, 4:04 pm, sad1sm0 <[EMAIL PROTECTED]> wrote:
> I'm building my first plugin for jquery and I'm stuck on a really
> weird problem. I'm building a lightbox ima
i totally agree. the subject line i posted doesn't make any sense to
my need. will be careful in future posts.
On Dec 9, 5:54 pm, MorningZ <[EMAIL PROTECTED]> wrote:
> Advice:
>
> meaningful subject lines = better/quicker help
>
> On Dec 9, 6:38 am, Hassan Ali <[EMAIL PROTECTED]> wrote:
>
> > i'v
Try jQuery Cycle Plugin. It is incredibly flexible. Even if you don't
see an exact match from one of its many, many examples, I'm sure it
can be used to create a slideshow like the one you linked to.
http://malsup.com/jquery/cycle/
--Karl
Karl Swedberg
www.englishrules.com
www.
Advice:
meaningful subject lines = better/quicker help
On Dec 9, 6:38 am, Hassan Ali <[EMAIL PROTECTED]> wrote:
> i've been surfing over net to find a slide show similar
> tohttp://www.frontpageslideshow.net/
>
> i checked the jquery site, almost entire one, couldn't find similar.
> can someo
Got it working!
I did go back to the first way of coding the jQuery, however.
The problem I had was in wrapping the 's with a form tag.
I guess when using jQuery the way this is written, the form tags
aren't necessary and actually keep the code from functioning properly.
It's a little strange
Hi, Andrew, and thanks for the code.
I've been *partially* successful and I don't quite understand why things are
happening the way they are...it could be some of the ColdFusion code
involved.
When I run the login.cfm page with the "myForm" form, I end up with my
message being displayed for a
Rick,
You could try the form plugin as below
Email:
Password:
$(document).ready(function() {
// bind 'myForm' and provide a simple callback function
$('#myForm').ajaxForm( {
dataType: 'json',
success:
So, the carousel is scrolling separate divs right?
what's stopping you from nesting a table inside the div that will be
scrolled?
nat wrote:
I am desperate to get rows added to JCarousel, I am a js novice so I
have made many attempts to hack with css with no success. I am trying
to create a c
Thank you - that's exactlyt what I was looking for. The semantic
approach seems a better approach as you described.
Thanks again.
On Nov 9, 4:23 am, Paul Mills <[EMAIL PROTECTED]> wrote:
> Hi,
> I've found a slightly messy solution which is to grab the html for
> each element and then strip o
Hi,
I've found a slightly messy solution which is to grab the html for
each element and then strip off the tags. It works but is
dependent on the exact sequence of code.
I would make things easy for myself by adding some extra tags. Such as
putting tags around the Tilte text - then it's easy
Hi Erik, try to remove all the mootools.js, probably there's a conflict.
Diego
--- Mer 29/10/08, ricardobeat <[EMAIL PROTECTED]> ha scritto:
Da: ricardobeat <[EMAIL PROTECTED]>
Oggetto: [jQuery] Re: Need help !!! $.preloadCssImages is not a function
A: "jQuery (English
Should work, are you calling the function on DOM ready?