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
this is what i had in mootools so far working on FF and Safari...
FORM:
Mensaj
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:
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')
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')
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
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
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
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:
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
10 matches
Mail list logo