Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-11-2010, 12:01 PM   PM User | #1
SametAras
New to the CF scene

 
Join Date: Feb 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
SametAras is an unknown quantity at this point
Prototype To JQuery

Hello,

I started my project I used in the prototype. But then the was problem.
I can not do have a (Prototype)function. How do I turn the JQuery code
below ?

Code:
function deleteBatch(_21){
var ids=[];
var _23=[];
$(".questionCheckbox").each(function(_24){
if(_24.checked){
ids.push(_24.value);
_23.push($("#question"+_24.value).find("h4"));
}
});
if(!ids.length){
alert("Lütfen soru seçiniz");
return;
}
_23.each(function(_25){
_25.removeClass("highlightYellow");
_25.addClass("highlightRed");
});
if(!confirm("Bu içeriği silmek istediğinizden emin misiniz ? Zira bu işlem geri alınamaz.")){
_23.each(function(_26){
_26.removeClass("highlightRed");
_26.addClass("highlightYellow");
});
return;
}
$("#deleteBatchButton").disabled=true;
$("#batchIndicator").show();
deleteQuestions(ids.join(","),_21);
};
Sincerely,
Samet ARAS.
SametAras is offline   Reply With Quote
Old 02-11-2010, 04:24 PM   PM User | #2
Fumigator
UE Antagonizer


 
Fumigator's Avatar
 
Join Date: Dec 2005
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,686
Thanks: 42
Thanked 637 Times in 625 Posts
Fumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of light
You'll probably have to go back to the drawing board.
__________________
Fumigator is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:54 AM.


Advertisement
Log in to turn off these ads.