[jQuery] Load question

2009-05-22 Thread Dave Maharaj :: WidePixels.com
I am new to jQuery and have a newbie question. I have a link click load into div. Thats all good. But how do I add effects? I read the jQuery docs and there are success: complete: error: but looking thru example online I have not seen this any where. Basicaly I want that click on the link it

[jQuery] Apply or remove style

2009-05-24 Thread Dave Maharaj :: WidePixels.com
I have a php for each loop that creates rows of data, each row is using the class .items How can apply a style to the very first .item only or add attach a extension to the .item class so it renders .items_first_entry for the first one? Thanks to all Dave

[jQuery] Re: Apply or remove style

2009-05-24 Thread Dave Maharaj :: WidePixels.com
); // This should add the class items_first_entry; - @Chrisjlee On May 24, 5:20 pm, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I have a php for each loop that creates rows of data, each row is using the class .items How can apply a style to the very first .item only or add attach

[jQuery] Re: Apply or remove style - Not workingin IE versions

2009-05-24 Thread Dave Maharaj :: WidePixels.com
)'); You could then chain it with a native jquery function, addClass to add the class. Or as well as toggleClass. The following would result: $('table#foo tr:first').addClass('items_first_entry); // This should add the class items_first_entry; - @Chrisjlee On May 24, 5:20 pm, Dave Maharaj

[jQuery] Re: Apply or remove style - Not workingin IE versions

2009-05-24 Thread Dave Maharaj :: WidePixels.com
What I have below works only in FF. In my html i have dl class=entryphp rendered content /div css: .resume dl.first_entry {padding:10px 0 10px 25px; float:left; border:none} .resume dl.entry{padding:10px 0 10px 25px; float:left; border-top:1px dotted #CCC} js; $('#resume_education

[jQuery] Re: Apply or remove style - Not workingin IE versions

2009-05-25 Thread Dave Maharaj :: WidePixels.com
) Subject: [jQuery] Re: Apply or remove style - Not workingin IE versions Is your mark-up valid? Works fine for me: http://jsbin.com/eninu Is that /div a typo? You must close the definion list, and it only takes dt and dd elements inside. On May 24, 11:09 pm, Dave Maharaj :: WidePixels.com d

[jQuery] Apple Style Slider - Multiple Sliders on same page question

2009-05-27 Thread Dave Maharaj :: WidePixels.com
I would like to use the apple style slider on my site. Found great tutorials on it and have 1 working. My question is how can I have more than 1? Based on http://jqueryfordesigners.com/slider-gallery/ I set that up no problem pulling my images from the database and so on My question is

[jQuery] Get ID

2009-05-27 Thread Dave Maharaj :: WidePixels.com
How do you find an ID that is generated dynamically? div id=menu_?php echo $variable ;? class=test Dave

[jQuery] Re: Get ID

2009-05-28 Thread Dave Maharaj :: WidePixels.com
Subject: [jQuery] Re: Get ID var myID = $(.test).attr(id); alert(myID); On Thu, May 28, 2009 at 6:24 AM, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: How do you find an ID that is generated dynamically? div id=menu_?php echo $variable ;? class=test Dave

[jQuery] Re: Get ID

2009-05-28 Thread Dave Maharaj :: WidePixels.com
); }); }); /script On Thu, May 28, 2009 at 10:56 AM, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: There are going to be multiple .test on the page how can i alert(myID) for all the elements on the page just testing it so i can see its gtting them all? Thanks

[jQuery] Ajax forms

2009-06-02 Thread Dave Maharaj :: WidePixels.com
Can someone give me a hand getting this right. Using the jQuery Form Plugin on http://malsup.com/jquery/form/ I am trying to submit a form but the script I am having problems with. I know its wrong...but cant figure out how to remove the duplicate post and url parts. $(document).ready(function()

[jQuery] Re: Ajax forms

2009-06-02 Thread Dave Maharaj :: WidePixels.com
false; // -- important! 2009/6/2 Dave Maharaj :: WidePixels.com d...@widepixels.com Can someone give me a hand getting this right. Using the jQuery Form Plugin on http://malsup.com/jquery/form/ I am trying to submit a form but the script I am having problems with. I know its wrong...but cant

[jQuery] Help getting a variable

2009-06-02 Thread Dave Maharaj :: WidePixels.com
I am trying to get 2 variablesbut not sure how I can get them from the form i have hard coded $(this).ajaxSubmit({ type:'post', url: '/joesmith/update/profile', data: queryString, target: '#profile', success: function()

[jQuery] Fade a load help

2009-06-03 Thread Dave Maharaj :: WidePixels.com
I have pretty much what I need except i want the load content to fade-in. $(a.edit_profile).click(function(){ var url_id = $(this).attr('href'); $(#user_profile).fadeTo(slow, 0.01, function(){ $(#loading).fadeIn(fast, function() { $(#user_profile).slideUp(slow, function() {

[jQuery] Newbie question on selectors

2009-06-03 Thread Dave Maharaj :: WidePixels.com
I have a page with 6 links that each have a unique class ; edit_profile edit_preferences edit_journal edit_entry and so on now I built 1 function based off edit_profile $(a.edit_profile).click(function(){ var url_id = $(this).attr('href'); do stuff.. }); but rather than writing the

[jQuery] Re: Newbie question on selectors

2009-06-03 Thread Dave Maharaj :: WidePixels.com
a with class that begins with 'edit_'. http://docs.jquery.com/Selectors On Jun 3, 8:20 am, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I have a page with 6 links that each have a unique class ; edit_profile edit_preferences edit_journal edit_entry and so on now I built 1 function based

[jQuery] Re: Newbie question on selectors

2009-06-03 Thread Dave Maharaj :: WidePixels.com
not work if your class is like: a href=... class=someclass edit_profile.../a because it checks for class=edit_[something] There's another solution to that, but I can't recall what it is on the top of my head right now. On Jun 3, 8:32 am, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote

[jQuery] Help with form success:

2009-06-03 Thread Dave Maharaj :: WidePixels.com
I am submitting a form using the jQuery Form Plugin Once I submit the form the response automaticaly loads in where the form was which is ugly...the form is larger than the area being updated. What I would like to do is after the form is submitted fade the form out and slide it back up to where

[jQuery] Add DIV magically?

2009-06-03 Thread Dave Maharaj :: WidePixels.com
Can jQuery add a div in a specific location? I currently have : li div class=loading id=loading_programs/div div id=programs dl class=entry dtPrograms/dt dd class=skills ?php foreach ($user['Program'] as $program):

[jQuery] Re: Add DIV magically?

2009-06-03 Thread Dave Maharaj :: WidePixels.com
Sweet! thanks man Dave _ From: Gustavo Salomé [mailto:gustavon...@gmail.com] Sent: June-04-09 1:58 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Add DIV magically? $('#programs').before('div class=loading id=loading_programs/div'); 2009/6/4 Dave Maharaj

[jQuery] Selector help

2009-06-04 Thread Dave Maharaj :: WidePixels.com
I am cleaning up some html code and originally i had li div class=loading id=loading_profile/div div id=profile dl class=entry dtProfile Settings/dt dd class=skills ?php foreach ($user['Preferences'] as $preference): echo $preference['name'] . ', ';

[jQuery] Complicated setup help.

2009-06-04 Thread Dave Maharaj :: WidePixels.com
I have run into a problem. I have li id=set_1 class=entry dl dtHeading/dt dd class=skills Sample here/dd /dl /li div class=edit_profile Edit/div div class=clear/div li id=set_2 class=entry dl dtHeading/dt dd class=skills Sample here/dd /dl /li div class=edit_settings

[jQuery] Re: Complicated setup help.

2009-06-04 Thread Dave Maharaj :: WidePixels.com
).fadeTo('fast', 1, function() { $('#resume_'+z).fadeIn('slow'); }); }); }); return false; }); }); }); }); }); }); _ From: Dave Maharaj :: WidePixels.com [mailto:d...@widepixels.com] Sent: June-04-09 8:50 PM

[jQuery] Selector not question

2009-06-04 Thread Dave Maharaj :: WidePixels.com
I am trying to disable all links except for the one clicked. $('a[class^=edit_]').click(function(){ var url_id = $(this).attr('href'); var e = $(this).attr('class'); var x = $(this).attr('id').split('_'); var y = x[0]; var z = x[1]; alert(e); the alert shows edit_profile so e =

[jQuery] Bind unbind click

2009-06-04 Thread Dave Maharaj :: WidePixels.com
OK i managed to prevent specific links from being clicked. But once the function is complete i want to enable the links again. But i keep getting H not defined error. Below is what I am using. But the links still remain unclick able Initial function: $('a[class^=edit_]').click(function(){ var

[jQuery] Help preventing click

2009-06-05 Thread Dave Maharaj :: WidePixels.com
I have 6 links , each loads a form into its respective div. How can I disable the links if one of the 6 is clicked preventing a user from opening up 6 forms at once? I have $('a[class^=edit_]').unbind('click'); which stops the click from working but once the form is submitted i now need to

[jQuery] Re: Help preventing click

2009-06-05 Thread Dave Maharaj :: WidePixels.com
/a and then saying 'a.edit' is much better jQuery-wise Second, if the sole purpose of these a objects is to load a form or something, and *not* take the user somewhere (primary purpose of a hyperlink), then advice: don't use a hyperlink for that then On Jun 5, 2:04 pm, Dave Maharaj

[jQuery] Even Odd Rows

2009-06-05 Thread Dave Maharaj :: WidePixels.com
I have a li layout which have the even odd class applied to them. Each item in the li has a delete link,click deletes the li but i am left with li class even li class even li class odd if i delete an odd one or vice versa how can i upon delete re-assign the even odd classes so they remain

[jQuery] Re: Even Odd Rows

2009-06-06 Thread Dave Maharaj :: WidePixels.com
Thanks everyone for your assistance. Greatly appreciated. Dave -Original Message- From: RobG [mailto:robg...@gmail.com] Sent: June-06-09 11:27 AM To: jQuery (English) Subject: [jQuery] Re: Even Odd Rows On Jun 6, 11:25 pm, Karl Swedberg k...@englishrules.com wrote: You can make

[jQuery] Disable question

2009-06-16 Thread Dave Maharaj :: WidePixels.com
I have a div which loads a form. On that page I have other buttons that get i need to disable until the form is submitted preventing the user from doing anything other than submit or cancel. If they submit the form i then need to enable all the buttons but that's not working. I have: function

[jQuery] How to tell if an item is open

2009-06-16 Thread Dave Maharaj :: WidePixels.com
I have 5 divs which can load content into them. I have added an on click add class open. When the page loads initially none are open, click on one link and the open class gets added but if another link is clicked i need to closed the open tag. How can tell jquery to look for an open tag if it

[jQuery] Newbie dumb question

2009-06-17 Thread Dave Maharaj :: WidePixels.com
Ok i am submitting a form with the jquery.formplugin by malsup My dumb question is where do I put the script code? My Page loads - click edit i have a modal window open up and thats the form there in the modal that iwant to submit ajax. Do i put my form script in the form page its self or do I

[jQuery] jQuery BlockUI Plugin

2009-06-17 Thread Dave Maharaj :: WidePixels.com
I am tryingto get this to work but no go. I have : $('a[class^=edit_]').click(function() { var url_id = $(this).attr('href'); var e = $(this).attr('class'); var x = $(this).attr('id').split('_'); var y = x[0]; var z = x[1]; //alert(e); $('a[class^=edit_]').block({

[jQuery] Toggle question..

2009-06-25 Thread Dave Maharaj :: WidePixels.com
I load form into a div replaceing the content thats there with a form that will be updating the content . So click here to edit your profile - profile info fades out - form loads inplace...all good and simple Now cancel how can if a user clicks cancel remove the form and replace it with

[jQuery] Ajax Upload

2009-07-17 Thread Dave Maharaj :: WidePixels.com
I an using the Valums ajax upload script, working fine... But i have a question about using jquery to change the file name. A user might be uploading 7.jpg and on the server I rename the file to match the user and unique id so 7.jpg turns into something like [username]_15987456.jpg When the

[jQuery] Rename a file name

2009-07-20 Thread Dave Maharaj :: WidePixels.com
I was wondering if someone could point out how to rename a file name. In the script I am using I see function fileFromPath(file){ return file.replace(/.*(\/|\\)/, ); } which replaces characters but how would I completely rename the file I tried: function fileFromPath(file){

[jQuery] Re: Rename a file name

2009-07-20 Thread Dave Maharaj :: WidePixels.com
] Sent: July-20-09 9:21 PM To: jQuery (English) Subject: [jQuery] Re: Rename a file name Could you give an example of a 'before' and 'after' of a filename? On Jul 20, 1:43 pm, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I was wondering if someone could point out how to rename a file

[jQuery] Re: Rename a file name

2009-07-20 Thread Dave Maharaj :: WidePixels.com
/questions/190852/how-can-i-get-file-extensions-with -javascript Once you have the extension, you can put in whatever you want before it. On Jul 20, 1:56 pm, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote:  Before could be anything the user has 07.jpg to this_is_my_best_friends_wedding.jpg

[jQuery] Newbie Question

2009-08-04 Thread Dave Maharaj :: WidePixels.com
I have a standard php page with some jquery going on its working fine. Now I want to take that page and load it into a div on a different page (tabbed layout pretty much) but when I do the script no longer works when the page loads into the div. SCRIPT CURRENTLY ON THE PHP PAGE THAT WORKS WHEN

[jQuery] Re: Newbie Question

2009-08-04 Thread Dave Maharaj :: WidePixels.com
); } }); }); } _ajaxInit(); /script if that doesn't work, call _ajaxInit() on the tabs callback function Dave Maharaj :: WidePixels.com wrote: I have a standard php page with some jquery going on its working fine. Now I want to take that page and load it into a div on a different page (tabbed layout

[jQuery] Re: Newbie Question

2009-08-04 Thread Dave Maharaj :: WidePixels.com
); } }); }); } _ajaxInit(); /script if that doesn't work, call _ajaxInit() on the tabs callback function Dave Maharaj :: WidePixels.com wrote: I have a standard php page with some jquery going on its working fine. Now I want to take that page and load

[jQuery] Re: Newbie Question

2009-08-04 Thread Dave Maharaj :: WidePixels.com
) { ul.animate({'left' : ui.value * -1}, 500); }, slide: function (event, ui) { ul.css('left', ui.value * -1); } }); }); } /script Dave Maharaj :: WidePixels.com wrote: 3 Errors

[jQuery] Re: Newbie Question

2009-08-04 Thread Dave Maharaj :: WidePixels.com
a better picture of just what you are trying to do? Dave Maharaj :: WidePixels.com wrote: Yes I have. Might be dumb of me but I will ask. Originally the script type=text/javascript /script and the needed js files were on the page specifically needing it. But now that I am loading

[jQuery] append help

2009-08-05 Thread Dave Maharaj :: WidePixels.com
I want to add .loading class before an element (#admin_content) so when a user clicks on a link it add the loading class before the #admin_content DIV but just can figure out to add the div class=loading/div I do not want to load the pages up with loading div tags all over the site.

[jQuery] Remove help

2009-08-06 Thread Dave Maharaj :: WidePixels.com
I have append to add a loading div. But once loaded i want to fade it out and remove it. I have: script type= text/javascript/*![CDATA[*/ $(document).ready(function(){ $('#content').append('div id=load/div'); $('#load').fadeIn('normal'); $('#content').load('/?php echo $url ; ?/profile/');

[jQuery] Re: Remove help

2009-08-06 Thread Dave Maharaj :: WidePixels.com
to fade out the loading div as a callback to your load method: $('#content').load('/?php echo $url ; ?/profile/', function(){ $('#load').fadeOut().remove(); }); On Aug 6, 9:17 am, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I have append to add a loading div. But once loaded i want

[jQuery] Fade in / Out

2009-08-06 Thread Dave Maharaj :: WidePixels.com
I was wondering how do you make text fade in for a specific amount of time then fade out. I have the fade in / out part..i just cant figure out the duration so it stays there after fading in for 5 seconds then fades out. Dave

[jQuery] Validation Error message help

2009-08-11 Thread Dave Maharaj :: WidePixels.com
I have this script: $(document).ready( function() { $('#username').blur( function () { fieldName = $(this).attr('id'); fieldValue = $(this).val(); $.post('/users/ajax_validate', { field: fieldName,

[jQuery] Pagination

2009-08-11 Thread Dave Maharaj :: WidePixels.com
Does anyone know how or if possible to remember where you were at in pagination? Example a user clicks 1, 2, 3, finds what they want on the third page and clicks a link...nope not what they were looking for they click back which now brings them back to pagination page 1 when it would be nice to

[jQuery] Toggle Help

2009-08-12 Thread Dave Maharaj :: WidePixels.com
I want to build add a favourites type widget into my site. Just so a user can bookmark a post they like. So I have my standard paginated view with various posts and a star beside each post. Solid star = bookmarked, empty star = not bookmarked I have the save/delete bookmark working the star

[jQuery] Add / Remove Class help

2009-08-12 Thread Dave Maharaj :: WidePixels.com
I have 2 class options .bookmarked and .not div id=b_97fd0f class=bookmarked not /div Or div id=b_97fd0f class=bookmarked /div My js looks like $(.bookmarked,.bookmarked not).click(function() { var url_id = $(this).attr('id').split('_'); var

[jQuery] SlideTo Help

2009-08-13 Thread Dave Maharaj :: WidePixels.com
I have a standard li id=a_?php echo $id; ? code link /li x 10 list. What I would like to do is when the link is clicked inside any of the li's scroll the page to the top of the browser to the top of that li? How would I set something like that up? Dave

[jQuery] POST GET help

2009-08-13 Thread Dave Maharaj :: WidePixels.com
I have $('#JobQuery').keyup(function(){ $.post(/jobs/search/, $(#JobSearchForm).serialize()); }); So it acts as a live search function. Inspect the browser activity and I can see the searches being performed. How can I get the data in the response to load into a div? Dave

[jQuery] Load Ajax content from flash XML

2009-08-19 Thread Dave Maharaj :: WidePixels.com
I have a flash navigation which gets the URL's from an XML file like: item pathcontent/images/4.jpg/path urlhttp://www.mysite.com/url target_blank/target bar_color0x66/bar_color bar_transparency70/bar_transparency slideShowTime5/slideShowTime /item Does anyone know how to load

[jQuery] Validation question

2009-08-31 Thread Dave Maharaj :: WidePixels.com
I have this script $(document).ready( function() { $('#username').blur( function () { fieldName = $(this).attr('id'); fieldValue = $(this).val(); $.post('/users/ajax_validate', { field: fieldName,

[jQuery] live() help

2009-09-07 Thread Dave Maharaj :: WidePixels.com
I have this on a page that gets loaded into a div but its not working when loaded. I originally had the page load normally in the browser and it worked, only since loading it into the div has it stopped. Not sure if it has anything to do with it but i want to add .live() to the function and

[jQuery] Re: live() help

2009-09-07 Thread Dave Maharaj :: WidePixels.com
you need to remove the $(window).ready event. Maybe the bound ready functions have been triggered already and are not being triggered again. Regards, Cam On Tue, Sep 8, 2009 at 10:29 AM, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I have this on a page that gets loaded

[jQuery] Re: live() help

2009-09-07 Thread Dave Maharaj :: WidePixels.com
. Maybe the bound ready functions have been triggered already and are not being triggered again. Regards, Cam On Tue, Sep 8, 2009 at 10:29 AM, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I have this on a page that gets loaded into a div but its not working when loaded. I

[jQuery] Selector bind help

2009-09-08 Thread Dave Maharaj :: WidePixels.com
I have a simple form field that runs a query. I have $('#Query').bind('keyup', function() { ...delay then search so after key up and delay it runs the search. Now when I click on the #query field the dropdown appears with my previous search text...if i select one it goes into the #query

[jQuery] Help with getting variable

2009-09-13 Thread Dave Maharaj :: WidePixels.com
Hoping for some simple help here. I have this structure in my forms name=data[User][username] But depending on the form it the ['User'] section will change throught the site. How can I pull the User as a variable? The script has something like this: $.post('/ajax_validate/users/', {

[jQuery] Help with error script

2009-09-15 Thread Dave Maharaj :: WidePixels.com
I have an ajax function that checks fields to validate and display error messages. There are multiple messages depending on the error per field in some cases, to short, to long, already taken, invalid, cant be empty and so onyou get the idea. My function is like this: function(error) {

[jQuery] Toggle Fade

2009-09-17 Thread Dave Maharaj :: WidePixels.com
I am trying to build a simple little effect when a user checks / un-checks a checkbox a specific div will fade in or out depending on the check state. I found lots of examples using toggle but I do not want to completely hide the div, only fade it to 50% or back to 100% Ideas anyone? Thanks

[jQuery] Update Div after ajax submit

2009-09-23 Thread Dave Maharaj :: WidePixels.com
I am using the jquery.form.js script and submit a form just fine. My Question is how can update an additional div after the form is sumbitted. Example h1title here /h1 = might say something like Edit you Green Earth Post Page content code. div id='formHere' form. /div So the

[jQuery] Re: jQuery in loaded content doesn't work

2009-09-24 Thread Dave Maharaj :: WidePixels.com
I ran into the same thing. I have the apple style slider that is on a page that gets loaded into a div as content. And it no longer works. I would be interested in following this post to see if any headway is made in this particular topic. Dave -Original Message- From: mstone42

[jQuery] Prevent jagged text in IE

2009-09-25 Thread Dave Maharaj :: WidePixels.com
I have content that loads into a div and in every browser except IE it renders fine. In the wonderful IE it comes in jagged...sometimes it snaps after and looks normal but for the most part its all jagged. The page is a white bg with text rendering into of it. Howcan I fix this so it looks normal?

[jQuery] Re: Prevent jagged text in IE

2009-09-25 Thread Dave Maharaj :: WidePixels.com
sure the text opacity is 100%. Don't fade it in. IE renders non-antialiased text when opacity is less than 100%. If that's not it, post a link to a test page. -Mike On Fri, Sep 25, 2009 at 4:56 PM, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I have content that loads into a div

[jQuery] Re: Prevent jagged text in IE

2009-09-26 Thread Dave Maharaj :: WidePixels.com
(English) Subject: [jQuery] Re: Prevent jagged text in IE What happens if you set a solid background-color to the element that holds the text? On Sep 25, 3:08 pm, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: Thanks, Will give it a shot. Dave   _ From: Rick Faircloth

[jQuery] Update Text or HTML

2009-09-26 Thread Dave Maharaj :: WidePixels.com
I have a div inside a div: div class=heading id=some_idSome Title Text div class=manage_optionsAdd | Edit | Delete/div /div I simply want to change the Some Title Text and leave the Add Edit Delete as is but my script type=text/javascript $(document).ready(function() {

[jQuery] Selectors .each

2009-10-01 Thread Dave Maharaj :: WidePixels.com
I am trying to add a class to the first dl item each time it appears inside set_list $('.set_list').each(function(){ $('dl.set:first').addClass('first'); }); This appers to only add 'first' to the first dl and not each one in each set_list I have my code like below..i simply want to add

[jQuery] Re: Selectors .each

2009-10-01 Thread Dave Maharaj :: WidePixels.com
iteration of the .each() loop. Now find the DL elements with the 'set' class *inside* this '.set_list'. Give me the first of those elements. I'm assuming that the .set_list element actually is the parent of those DL/DT/DD elements. -Mike On Thu, Oct 1, 2009 at 8:19 AM, Dave Maharaj :: WidePixels.com d

[jQuery] Ajax / Form Validation

2009-10-01 Thread Dave Maharaj :: WidePixels.com
I have a form that gets submitted via AJAX, now i want to add the validation but cant make sense of it. Using malsup form script to submit, Now I would like to incorporate the jQuery Validation Plug-in found on http://jquery.bassistance.de/validate/demo/index.html I currently have this so

[jQuery] Form validation

2009-10-01 Thread Dave Maharaj :: WidePixels.com
I cant get the validation in my form to work. Using malsup to sumbit and trying to add validate.js plugin but it wont work. I can submit the form on its own but adding the validation breaks it. I followed the examples for the validate but what about bind submit? Surely someone has sumbitted a

[jQuery] Re: Ajax / Form Validation

2009-10-01 Thread Dave Maharaj :: WidePixels.com
}; On Oct 1, 10:52 am, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I have a form that gets submitted via AJAX, now i want to add the validation but cant make sense of it. Using malsup form script to submit, Now I would like to incorporate the jQuery Validation Plug-in found

[jQuery] Fade in/ out image

2009-10-10 Thread Dave Maharaj :: WidePixels.com
How can i remove the image in an id but keep the div? div id = something image here /div I want to fade the image out then remove it completely from the div keeping the div so the new content can be loading inside it? Dave

[jQuery] Ideas how to build?

2009-10-13 Thread Dave Maharaj :: WidePixels.com
I came across this select / checkbox setup at http://monster.ca/ for job search and was wondering if anyone has seen some thing like this jquery related? Not the drop/slide down. But when you click on the select input it shows a checkbox list instead of normal select options Thanks, Dave

[jQuery] Sortable Help

2009-10-14 Thread Dave Maharaj :: WidePixels.com
I am sorting but the data being sent is in wrong format. Response headers: data = entry[]=cf43c5caa5eentry[]=1cb5758d6aaentry[]=ee713a3034aentry[]=d32cea34 83f key = entry_0[] but it should be entry[0]=cf43c5caa5eentry[1]=1cb5758d6aaentry[2]=ee713a3034aentry[3]=d32c

[jQuery] Prevent Select from opening.

2009-10-14 Thread Dave Maharaj :: WidePixels.com
I have a select input that when clicked i want to prevent from dropping down. How can this be done? I only have this so far: script type=text/javascript $(document).ready(function(){ $(#JobStateId).mousedown(function(){ alert('clicked'); return false; }); }); /script

[jQuery] Toggle Help

2009-10-20 Thread Dave Maharaj :: WidePixels.com
I am trying to toggle two different views on the page. I have the users personal info in div id=edit_personalcontent/ So when the user clicks edit the content gets replaced with a form url: /manage/personal/edit, What would be the best way to do this/ So if they click edit the content gets

[jQuery] Sort after insert append?

2009-10-26 Thread Dave Maharaj :: WidePixels.com
I have a list of Educations that are ordered by Date Completed. Same page I have an ajax form to add new education. How can I insert the new education where it should go chronologically? Example: 2005 1997 And user add's new Education for 2002 how can I have that be inserted between 2005

[jQuery] Re: Sort after insert append?

2009-10-26 Thread Dave Maharaj :: WidePixels.com
[mailto:charlie...@gmail.com] Sent: October-26-09 5:40 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Sort after insert append? a lot depends on html , are these lists, tables, text etc?? hard to guess what you need Dave Maharaj :: WidePixels.com wrote: I have a list

[jQuery] Re: Sort after insert append?

2009-10-26 Thread Dave Maharaj :: WidePixels.com
on parsing the text in the dd to determine years there are simpler ways with classes that could be added at server but this works with just the html provided. I used a select to show will insert before and after list if applicable http://jsbin.com/inayo Dave Maharaj :: WidePixels.com wrote: Sorry, my

[jQuery] Append Help

2009-11-04 Thread Dave Maharaj :: WidePixels.com
I am uploading images and once uploaded they appear in my sortable list. I have success response: $('li/li').appendTo('#sortable').fadeIn('slow').html(response); page code: ul id=sortable class=files liimage1/li - are there when the page loads liimage2/li - are there when the page loads

RE: [jQuery] Append Help

2009-11-04 Thread Dave Maharaj :: WidePixels.com
:01 AM, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I am uploading images and once uploaded they appear in my sortable list. I have success response: $('li/li').appendTo('#sortable').fadeIn('slow').html(response); page code: ul id=sortable class=files liimage1/li

RE: [jQuery] Append Help Issue

2009-11-04 Thread Dave Maharaj :: WidePixels.com
=my_idcode. /li /li How can I just insert the response to the #sortable at the top? Thanks again, Dave _ From: Dave Maharaj :: WidePixels.com [mailto:d...@widepixels.com] Sent: November-04-09 1:40 PM To: jquery-en@googlegroups.com Subject: RE: [jQuery] Append Help

RE: [jQuery] Append Help Issue

2009-11-04 Thread Dave Maharaj :: WidePixels.com
2:17 PM To: jquery-en@googlegroups.com Subject: Re: [jQuery] Append Help Issue Try prepend() instead of prependTo()? http://docs.jquery.com/Manipulation/prepend On Wed, Nov 4, 2009 at 9:40 AM, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: Ok i changed the code to: $('li/li

[jQuery] Toggle Help

2009-11-05 Thread Dave Maharaj :: WidePixels.com
I am loading a page using $Ajax and upon success i run a toggle function. Now how can i set it up so that once its been loaded it will not make a second Ajax request? Basically a user clicks edit and i get the form via Ajax request and place it into a div. Once completed the original content

[jQuery] Validate remote:

2009-11-05 Thread Dave Maharaj :: WidePixels.com
I have a simple test to check if email is registered already using validate remote. But am not getting any error message. I am watching the activity using Firefox and see the script checking the php script and i see the error being reported in my debug() Array ( [agree] = You must verify

[jQuery] Ajax submit help

2009-11-07 Thread Dave Maharaj :: WidePixels.com
I am sending a form via Ajax and have that part working fine. Now my issue is if I use validate before sending I have to write the exact validation rues that are done on the server...not the best solution coding the same thing twice. And some of my validation rules require checking the database

[jQuery] Remove Error Message

2009-11-07 Thread Dave Maharaj :: WidePixels.com
Well i finally got the remote validation working. But if there is an error in a form then i correct it the error message still shows. How can I remove the message once the error is fixed? I am testing a email address in a db with 2 emails so i know if its unique or not. rules: {

[jQuery] Characters in a string

2009-11-08 Thread Dave Maharaj :: WidePixels.com
I have a string where i need to get the last specific number of characters but cant seem to find an answer when you don't know the length of the strings since its dynamic. var str=/folder/subfolder/setfolder/6ab0e34e915; where i need the last 11 digits (6ab0e34e915). The folder names change so

RE: [jQuery] Characters in a string

2009-11-08 Thread Dave Maharaj :: WidePixels.com
Thanks. that's just what I needed. Dave _ From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: November-08-09 3:32 PM To: jquery-en@googlegroups.com Subject: Re: [jQuery] Characters in a string On Sun, Nov 8, 2009 at 10:53 AM, Dave Maharaj :: WidePixels.com d

[jQuery] Append Help

2009-11-08 Thread Dave Maharaj :: WidePixels.com
I have a div that I want to add new content to after the div closes div id=originaloriginal content here /div div id=something_new new content here /div So the new content I am adding gets inserted after the original div. I tried: $(response).fadeIn('slow').appendTo('#original');

[jQuery] Confirm Delete

2009-11-09 Thread Dave Maharaj :: WidePixels.com
I am attempting to add a class to a div before deleting it. I just cant get the class to remove if the user selects no. Anyone have tips or a link with suggestions? I found the jquery.confirm.js script but unable to add a class to the element being deleted before confirm Thanks Dave

RE: [jQuery] Confirm Delete

2009-11-09 Thread Dave Maharaj :: WidePixels.com
: Re: [jQuery] Confirm Delete On Mon, Nov 9, 2009 at 8:58 AM, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I am attempting to add a class to a div before deleting it. I just cant get the class to remove if the user selects no. Anyone have tips or a link

RE: [jQuery] Re: Confirm Delete

2009-11-09 Thread Dave Maharaj :: WidePixels.com
).removeClass('pre_delete'); } return false; }); On Nov 9, 12:15 pm, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: My bad. Here is what I have so far. $(a.delete).live('click', function (){  var url_id = $(this).attr(href);  var div_id = url_id.split('/');  var set_id = 'set_

[jQuery] Validation Remote Question

2009-11-09 Thread Dave Maharaj :: WidePixels.com
Can you set required as remote? For example I have a year field where the server validates the rules, 4 numeric characters, required. But rather then having to put the rules for every field in the js required: true, number: true, maxlength 4, minlength:4 that are duplicates the the server

[jQuery] Submit Function Code Help

2009-11-10 Thread Dave Maharaj :: WidePixels.com
I have the same code one multiple pages and would like to clean that up. It is for submitting a form via Ajax. The only thing different in the form would be the form id , where its going and the validation rules. But all of that is taken care of thru standard naming convections thru-out the site.

[jQuery] Show Loading

2009-11-10 Thread Dave Maharaj :: WidePixels.com
Is there a way that when your loading content to display the loading div for a minimum amount of time? I am requesting Ajax grab some content for me and while its doing so I show the loading spinner but in some cases it just flashes for a millisecond and gone. Can it be set to show for a minimum

[jQuery] Sortable Help

2009-11-10 Thread Dave Maharaj :: WidePixels.com
I am trying to send the data in a numbered array but i end up with set[]=56454set[]=54546522 when i need set[0]=56454set[1]=54546522 $(document).ready(function() { $(#sortable).sortable({ placeholder: 'ui-state-highlight', update: function() {$.post('/order/.php',{data:

[jQuery] IE Help - Code Included

2009-11-11 Thread Dave Maharaj :: WidePixels.com
I have a my content wrapped in a div. It has a delete' button. Click delete will add the pre_delete class to the div your about to delete and a confirm alert. Click yes and the section fades out / deleted in back-end. Click no the div returns to normal with the pre_delete class being removed. In

  1   2   >