[jQuery] Comment posting using Jquery

2008-09-24 Thread Xmode
Hello guys I'm a php programmer and I love the idea of jquery not to have to load page after page for each thing that happens in a website, I've look into it and I want to try it out. The fisrt script i want to make using jquery is a comment form, that submits the comment and if the comment is acc

[jQuery] Re: Comment posting using Jquery

2008-09-24 Thread Xmode
this is what i had in mootools so far working on FF and Safari... FORM: Mensaj

[jQuery] Re: Comment posting using Jquery

2008-09-24 Thread Xmode
This is what i was doing with mootools... and it worked flawless in FF and Safari but not in IE after a week of trying to make it work I saw my friend using jquery and I liked it. So i switched to jquery to do my next project and now I need some help... to start understanding more jquery FORM:

[jQuery] Re: Control form submitting

2008-09-27 Thread Xmode
why dont you do the checks before submit? Example: Inside submit function... make sure you got a div to display errors: var err = jQuery('#error'); //Enter Name'); return false; } // end if //then check if email is correct... if(form.find('#email')

[jQuery] jquery.form not working (comment system using jquery)

2008-09-27 Thread Xmode
Im trying to integrate a comment system using jquery into my project but it doesn't work I need some help finding where the error could be: javascript: $(document).ready(function() { jQuery('#newComment').after('
'); jQuery('#submit')

[jQuery] how to delete div individually

2008-09-28 Thread Xmode
on jquery alone... Here is sample code for delete using mootools... Comment format: deletehttp://192.168.0.5/flog/xmode";>xmode @ 28/09/2008 03:02:53asdadad deletehttp://192.168.0.5/flog/xmode";>xmode @ 28/09/2008 03:05:26sdadad Java: var cmsComment = new Class({ delet

[jQuery] how to delete div individually

2008-09-28 Thread Xmode
on jquery alone... Here is sample code for delete using mootools... Comment format: deletehttp://192.168.0.5/flog/xmode";>xmode @ 28/09/2008 03:02:53asdadad deletehttp://192.168.0.5/flog/xmode";>xmode @ 28/09/2008 03:05:26sdadad Java: var cmsComment = new Class({ delet

[jQuery] Re: how to delete div individually

2008-09-28 Thread Xmode
found solution: $('a').click(function() { var id = this.id.split('_')[1]; $('#comment_'+id).fadeOut('slow'); return false; });//end delete Link: deletehttp://192.168.0.5/flog/xmode";>xmode @ 23/09

[jQuery] Re: how to delete div individually

2008-09-28 Thread Xmode
d the id off > the URL and generate a page asking the user to click a form button to > post back the same id to delete.php for a confirmed delete. > > CSS: > .comment { >   border-top: 2px solid #ccc; >   border-bottom: 2px solic #ccc;} > > .commentBody { >   border-top:

[jQuery] Re: how to delete div individually

2008-09-29 Thread Xmode
should read the id off > the URL and generate a page asking the user to click a form button to > post back the same id to delete.php for a confirmed delete. > > CSS: > .comment { >   border-top: 2px solid #ccc; >   border-bottom: 2px solic #ccc;} > > .commentBody { >   b