[jQuery] month not displaying in datepicker inside superfish menu

2008-05-27 Thread pedalpete
I'm trying to figure out what the layout for the datepicker looks like in plain html so I can figure out why the month doesn't display when the datepicker is inside of a superfish menu. Rather than display the month and the year arrows in a single row, the year and month arrows are displayed in s

[jQuery] Re: highlight effect on error

2008-05-27 Thread pedalpete
Have you checked out the validation plugin? it's really great, and provides a message as to what you are expecting the user to do, etc. For what you currently have, why do the '.fadeIn/.fadeOut',etc. Why not just do .addClass? and then when the right input is accepted, .removeClass?

[jQuery] Re: datepicker select to update a div, and strange datepicker css issue

2008-05-27 Thread pedalpete
I've made some progress with this, but my code is looking really strange. To rehash, I am trying to get the datepicker to update a span, not an input. But i was getting an error. Now I can update the span, but I can't split the date variable before I update (it gives blank time and gmt details th

[jQuery] Re: loading a PDF file using Ajax

2008-05-27 Thread pedalpete
I could be wrong, but i believe that because pdf requires you to run a reader, you can't import the pdf directly within your content. However, I think an iframe might work for you. You can retrieve a pdf file via ajax, I'm sure. It's just a matter of getting it displayed once you get it. The onl

[jQuery] datepicker select to update a div, and strange datepicker css issue

2008-05-23 Thread pedalpete
I just launched my first jquery site the other day, and I'm trying to make it so that selects a date from the datepicker, a div on the page gets updated with the selected date. Datepicker is launched from within a superfish menu However am having two problems. 1) when I use the code below, i get

[jQuery] Re: SuperFish Plugin - How to Remove Animation

2008-05-21 Thread pedalpete
at the beginning of the superfish.js, you'll see a list of function variables. In there, you'll see an 'animation' entry. I think the default is '{opacity:'show'},'. I don't know what the options are, but i'd set that to false and see how it goes. On May 21, 7:08 am, Ed <[EMAIL PROTECTED]> wrot

[jQuery] Re: Can you please help me to fix this

2008-05-21 Thread pedalpete
I'm not sure i'm completely understanding what you are trying to do, but from what I understand you want to get the name and age of all family members above 25. you can get the value of html by requesting .html(). but you would need to provide a class to search under (not id as id only finds the

[jQuery] jScrollPane ie error on ajax response

2008-05-20 Thread pedalpete
I've been using the jScrollPane on two divs in my page. Everything works fine in FireFox and Safari, but both IE 6 & 7 returns an error. if I remove the line, i get no errors in IE. [code] $(holdTracks).jScrollPane(); [/code] The error I do get with this line in place is in the jQuery file, I'

[jQuery] alert shows value, but can't get it passed to a function??

2008-05-20 Thread pedalpete
Hey, I'm kinda stumped on this one, but I'm sure it's not that complicated. I'm using jmaps to load a google map, and i can set the zoom with mapZoom by manually entering 'mapZoom: 12', etc. However I have a form, and I am trying to adjust the maps zoom based on the range selected in the form.

[jQuery] Re: jscrollPane scroll to can't find first element

2008-05-20 Thread pedalpete
I got this to work, but not in the nicest way. It appears the script is adamant that I do not call .scrollTo within the following function [code] function getList(event, page){ $('#holdList')[0].scrollTo(0); var distance = $('#distance').val(); var addressQ = $

[jQuery] Re: jscrollPane scroll to can't find first element

2008-05-19 Thread pedalpete
you need to do: > > $("#holder")[0].scrollTo(firstList); > > If you can't solve that part, you could check ScrollTo: > http://flesler.blogspot.com/2007/10/jqueryscrollto.html > > Cheers > > -- > Ariel Fleslerhttp://flesler.blogspot.com/ > > On 18 ma

[jQuery] jscrollPane scroll to can't find first element

2008-05-18 Thread pedalpete
Hey, I'm using Kevin Luck's jScrollPane on an ajax retrieved list. The first time I call the page, it works no problem, but when I reload the ajax content, if the user has scrolled down, the scroll doesn't return to the top. I call the jScrollPane again on each ajax reload so that the scroller

[jQuery] json parser doesn't output

2008-05-16 Thread pedalpete
I've been trying to get this to work following these instructions http://blog.reindel.com/2007/10/02/parse-json-with-jquery-and-javascript/ , but i can't seem to get any output. I am getting json data from google maps getLocations(), so the way I grab the json is a bit different. according to g

[jQuery] Re: date picker doesn't work

2008-05-15 Thread pedalpete
I'd guess you are not linking to the script properly in your head tag. I've been using it for months, no problem. Its a great plug-in, super simple. On May 15, 7:05 pm, macsig <[EMAIL PROTECTED]> wrote: > Hello, I'm trying to use the date picker plugin but I have a issue > with it. > > I load al

[jQuery] Re: Google Maps / JQuery

2008-05-15 Thread pedalpete
I've just started with google maps last week, and I went with the plugin, so I kinda recommend it. Makes it easy, but doesn't include all the features of google maps. I haven't tried mixing other google features not built into the plug-in yet. Just out of curiosity, any chance you have come acros

[jQuery] Re: ajaxForm replacing content in the wrong element

2008-05-15 Thread pedalpete
I thought I had this working, but now it turns out the form is getting submitted twice. I can see why it is getting submitted twice, but can't figure out how to change it and make it all work the problem is I don't have the data to be submitted until I run another function. I tried calling that

[jQuery] Re: validate() and multiple forms that arrive via ajax

2008-05-12 Thread pedalpete
I've been having similar issues, and your solution really helped, but i think it introduced another problem. if I retrieve the same form again, so loaded the form a second time via ajax, the form tries to validate, but then submits anyway. Kinda strange. My code looks like this [ code] function

[jQuery] looping through items with a delay

2008-05-11 Thread pedalpete
I've got a jquery page with a google map, and I need to retrieve lat long values for items to be put on the map. However, I don't want the visitors machine to try and get all the lat longs at once, as i think that would be an overload (and I think you are limited to 1 request per second per ip ad

[jQuery] Re: ajaxForm replacing content in the wrong element

2008-05-11 Thread pedalpete
Thanks Mike, That worked beautifully, and your answer was very succinct. Apparently I have been overcoding the ajaxForm for some time now. Pete

[jQuery] ajaxForm replacing content in the wrong element

2008-05-10 Thread pedalpete
I'd like to think I'm getting pretty good with ajaxForm, but apparently not. I've got a form submitting, and it is supposed to send the response to an element on the page, and leave the form in place. However, what's happening is that the form which it is submitted from is being replaced. The

[jQuery] Re: unbinding, livequery or other way to cancel an ajax retrieved form or remove form from DOM?

2008-05-08 Thread pedalpete
sorry, correction to my code posted above. the cancel funciton has to have unbind() or it submits the form anyway, but even with the unbind, it then submits the form twice the next time the form is called. cancel function above should read pedalpete View profile More options May 8, 11

[jQuery] unbinding, livequery or other way to cancel an ajax retrieved form or remove form from DOM?

2008-05-08 Thread pedalpete
Hi All, I'm building a site with lots of ajax retrieved forms, and have finally realized why I'm seeing tons of errors (I think). On the site, if you select an input which gets an ajax form, I add a 'cancel' button to the form which will hide the form if the user decides not to take that action.

[jQuery] Re: validating dynamically generated data

2008-05-06 Thread pedalpete
Have you checked out the validate plugin? http://plugins.jquery.com/project/validate Their is a method they have where you can actually run an ajax call to your server to check for a valid input, or you could use it with your statically set value as you have already done. On May 6, 1:01 pm, jp

[jQuery] location of pop-up ajax response

2008-05-05 Thread pedalpete
Hi All, I am building a site with a bunch of forms which i retrieve via ajax. I am trying to do something similar to what google does with maps where when the user clicks on a specific point, the form displays relative to the users position, AND most importantly the position relative to the rest

[jQuery] Re: bind() and thousands of elements - inline or extrnal?

2008-03-30 Thread pedalpete
Hi Leeoniya, I'm not sure exactly what you are trying to do, but I've got a large table, and when a user clicks on a cell, i pass the id of that cell to a function. No binding, no inline functions. mine works like this, i hope it helps, though it is pretty basic. [code] $("td").click(function(

[jQuery] Re: bind() and thousands of elements - inline or extrnal?

2008-03-30 Thread pedalpete
Hey Leeoniya, I'm not sure exactly what you are trying to do, but I think binding each cell to an external function, or creating an 'anonymous' function inline maybe isn't the best way to go. I have a table with lots of cells, and when the user clicks on a cell, i pass the id of that cell to a s

[jQuery] Re: bind() and thousands of elements - inline or extrnal?

2008-03-30 Thread pedalpete
I'm not sure exactly what you are getting at, maybe describing what you are trying to do would help. I have a table that when the user selects certain cells, they are provided with forms, options, moves, etc. (currently being built, so I can't point you to it). Rather than binding to each cell,

[jQuery] Re: Superfish IE hovers z-index

2008-03-28 Thread pedalpete
I FINALLY figured this out after playing with it for FAR too long. Hopefully this helps somebody else. if you are using superfish, the culprit is the following css [code] .nav li:hover, .nav li.sfHover, .nav a:focus, .nav a:hover, .nav a:active { background:#CFDEFF; } [/code] adding z-i

[jQuery] Re: superfish z-index with multiple menus (FF, IE, Safari)

2008-03-28 Thread pedalpete
Hey Joel, I finally got this fixed in IE, and I think the solution might be a good addition to your css for the next fix. It seems to work seemlessly in IE and FF, and Safari. All i did was add z-index: 1; to the css element .nav li:hover, .nav li.sfHover... [code] .nav li:hover, .nav li.sfHove

[jQuery] Superfish IE hovers z-index

2008-03-27 Thread pedalpete
I've been working on this, and had issues with FF and Safari which have now been resolved. In IE, I have a bunch of different superfish menus which end up being hidden behind other menus. Here's a link to the demo error http://zifimusic.com/testing/broken-hovers.html and the css page http://zifim

[jQuery] multiple clicks needed to submit form with form plugin

2008-03-04 Thread pedalpete
This is a bit strange as it happens on only one form on my site which uses many forms with the form plugin. The form appears on the page via an ajax call (like most of my forms), and when the user submits the form it is submitted and the response returned via ajax call. When the user clicks subm

[jQuery] jquery form plugin submitting for multiple times after DOM is appended

2008-02-23 Thread pedalpete
I'm using the jquery form plugin from a form which is retrieved via ajax. I have multiple forms on the page. I'm using .livequery to make sure the form is only requested once, but didn't realize my problem is that the submit is actually occuring more than once. I've tried adding .livequery to the

[jQuery] Re: clock pick in ajax loaded form - ie error

2008-02-20 Thread pedalpete
Works like a charm now Josh, Thanks for the fix and the awesome plugin. Definately an improvement in UE. Pete

[jQuery] Re: clock pick in ajax loaded form - ie error

2008-02-17 Thread pedalpete
Now I see Josh, Sorry for the confusion. I wasn't sure which version I was using (I don't see a version number in the clockpick file), but I now have the version which includes the bgiframe. I've set that to true, and I've tested a few different versions of bgiframe (packed, 2.1, 2.1.1) just to s

[jQuery] Re: clock pick in ajax loaded form - ie error

2008-02-16 Thread pedalpete
making a TINY bit of progress on this, but maybe it will lead to the answer. I've been putting a few alert statements into the clockpick.js to see if it would lead to an answer. It turns out by adding an alert to the end of the 'renderhours()' function, the hours display and then hide. So apparen

[jQuery] Re: clock pick in ajax loaded form - ie error

2008-02-14 Thread pedalpete
t. Try using relative positioning and see if that > helps. > > -- Josh > > - Original Message - > From: "pedalpete" <[EMAIL PROTECTED]> > To: "jQuery (English)" > Sent: Wednesday, February 13, 2008 5:15 PM > Subject: [jQuery] Re: clock pick

[jQuery] Re: clock pick in ajax loaded form - ie error

2008-02-14 Thread pedalpete
You are right Josh, I didn't have the most recent version. I've updated it now, and I do get the 'alert', but still no clockpick. I've included bgiframe at the testing address, just incase it was a z- index issue, but that doesn't seem to be it. I am also now getting the alert.

[jQuery] Re: clock pick in ajax loaded form - ie error

2008-02-13 Thread pedalpete
Thanks Josh, I've edited the page to remove the positioning. Not sure why I added that in, but I think it had things working better. I removed that bit and loaded it up to the same page. I'm still amazingly puzzled at how the alert doesn't trigger. I've moved the function call up to above the c

[jQuery] Re: clock pick in ajax loaded form - ie error

2008-02-12 Thread pedalpete
]> wrote: > Do you have the latest release? You will want to get 1.2.1. I think there > was an IE issue in earlier releases. > > If you could post a link as well that would be helpful. > > -- Josh > > - Original Message - > From: "pedalpete"

[jQuery] clock pick in ajax loaded form - ie error

2008-02-12 Thread pedalpete
I've been using the clockpick plugin (it's awesome) and I load the form which uses the plugin via an ajax call. The plugin works perfectly in FF and Safari, but in ie 6&7, it only shows a grey box at the bottom of the page. I've look through other comments here in the jquery groups, but the other

[jQuery] Re: How to prevent user from clicking links or buttons while submitting

2008-02-02 Thread pedalpete
Hey klaus, I tried as you directed and placed it within the jquery form plugin, but it doesn't seem to be working, I am able to click the submit button multiple times. Any idea as to why this would not work with the plugin? [code] $('#addForm').submit(function() { // inside event callba

[jQuery] Re: Datepicker showon link click

2008-01-31 Thread pedalpete
Hi Roman, I thought clicking a link with datepicker was the default. I've got it working with this [ code] $('.date-pick').datePicker({clickInput:true}); [/code] class="date-pick is assigned to an input field that I have hidden with the css, so only the default text is shown. The default text

[jQuery] Re: getScript making multiple calls

2008-01-31 Thread pedalpete
This is awesome Feed, I was having the exact same problem. The reason why it loads multiple times (it seems to me) is that jquery is appending the new objects to the previous list it holds when the function is run. Not sure if this is a jquery error, or just the way things are supposed to be. Ho

[jQuery] Re: sum of table rows

2008-01-24 Thread pedalpete
that AWESOME!! thanks Dan, I had looked at your plugin before, but thought it was overkill for what I was trying to do (I'm fairly new to Javascript and quite new to jquery as well). Thanks for including the bit of code I needed to get your plug-in working for my site. I don't know that I would

[jQuery] Re: sum of table rows

2008-01-23 Thread pedalpete
I'm not sure if I am getting closer on this or further away. I have a table that looks like this [code] first person second person third person

[jQuery] Re: $.ajax not refreshing content - nothing happening in the callback

2008-01-19 Thread pedalpete
unfortunately no, it is not due to caching. I put that into the $.ajax, but that didn't make a difference. Also, I can see the response in firebug and the changed html is returned. strange that this isn't working.

[jQuery] $.ajax not refreshing content - nothing happening in the callback

2008-01-19 Thread pedalpete
Hi all, this is a really strange one. Not sure where I found the example code for this, but it has been working for me without an issue and I have it running multiple times on my site. But for some reason in this one instance it isn't working, and I keep checking everything and it all looks fine

[jQuery] Re: Click event calls twices

2008-01-18 Thread pedalpete
I've seen this issue a few times myself. Normally this happens to me because of the way I am calling the event, and loading it in multiple times. It would be REALLY helpful if you would post your code here. So we can take a look and let you know what might be triggering the multiple clicks. for

[jQuery] multiple load .ajax on click then ajax form

2008-01-17 Thread pedalpete
Hi all, I've got some code kinda working, but I think the way i have done it is very inefficient. What I'm doing is loading a form via when the user clicks a link. The form is then processed by the and the results updated via the ajax form plug-in and another .ajax call. However, for each diffe

[jQuery] sum of table rows

2008-01-16 Thread pedalpete
really close to this one, but it seems I'm not looping properly What I have is a table, and I'm trying to sum just the row values individually. the table row has the id of newPerson, and then the cells have an class of length and the id is the numbers that need to be added. but apparently the c

[jQuery] Re: Selecting a certain field of a table

2008-01-02 Thread pedalpete
I haven't seen a plugin, which does exactly this, but I'm looking to write something like this for columns in the next little while. Rows should be quite a bit easier. something like this I suspect [code] $("td#rowHeader").click(function(){ var getRowCells = $("td#rowHeader").siblings; get

[jQuery] jquery within ajax response

2007-12-29 Thread pedalpete
I'm not sure why I'm having an issue with this, but what I have is an ajax response which contains some more javascript. When I retrieve the page directly, the jquery functions work fine, but when I load the page into another page via an ajax request, none of the functions work. I can launch a ja

[jQuery] Re: .click working once only

2007-12-21 Thread pedalpete
I've kinda figured out a bit why this is happening. When the .clickable items are loaded into the page via ajax, [code] $.ajax({ type: "GET", url: "processes/addNow.php", data: "uid="+uid+"&sid="+sid

[jQuery] Re: .click working once only

2007-12-21 Thread pedalpete
I just got this working by putting the .click actions into a function and then calling that function after the ajax is loaded this thread has more info http://groups.google.com/group/jquery-en/browse_thread/thread/8d6abc5c9b1a4fa0/5a780aa16e5cd55c?lnk=gst&q=addressing+dynamically+loaded+eleme

[jQuery] Re: jquery forms with ajax responses

2007-12-21 Thread pedalpete
} }); } }); [/code] Unfortunately I am now having the problem that .click can only be executed on each item once. So if you know how to fix that, I would be much obliged. Let me know how this works for you. Pete On Dec 20, 4:44 pm, "[EMAIL PROTECTED

[jQuery] .click working once only

2007-12-20 Thread pedalpete
I'm sure this is something simple, but I'm fairly new to programming and very new to jquery. I have a table where each cell has a unique id. when the user hovers over the cell I display some options which loads a form based on what the user selects...(not important). Anyway, everything works gre

[jQuery] Re: jquery forms with ajax responses

2007-12-18 Thread pedalpete
Thanks for your help Hamish, I just got this working with the ajaxForm plugin.

[jQuery] Re: jquery forms with ajax responses

2007-12-18 Thread pedalpete
function. > > This will tell the browser not to redirect to "addShift.php" after > running your function. > > You should make the action page the 'non-ajax' alternative, so if the > function doesn't execute it can continue anyway. > > On Dec 18, 4:18 p

[jQuery] Re: jquery forms with ajax responses

2007-12-18 Thread pedalpete
Thanks Hamis, I think I'm getting closer, but maybe I'm not putting return false in the right location. I have been able to either stop the redirect, but the form does not get submitted by .ajax. now my jquery code looks like this, but nothing gets submitted. [ code] $("#addShiftForm").submit(f

[jQuery] jquery forms with ajax responses

2007-12-17 Thread pedalpete
I've been looking at this for a while and can't get this to work. What I want to do is submit a form, but have the page not redirect to the form page, but rather to refresh a div in the current page. This should be simple, but everything I do ends up taking me to the submitted form response page.

<    1   2