jQuery sortable from database

  Рет қаралды 20,878

kudvenkat

kudvenkat

Күн бұрын

Пікірлер: 9
@samerattariqadri
@samerattariqadri 6 жыл бұрын
Venkat you are really insteresting. I like ur way to describe everything very deeply.You are really desire of Million of Likes. Now i am a .net developer because of u. I hope ,i will find a good job very soon because i have watched ur all series of ur .net tutorials,not just one time but 4 times.
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 6 жыл бұрын
Hello Samer - Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful. Good luck and all the very best with your job search. Hope you will find your dream job soon.
@1Cmobile
@1Cmobile 9 жыл бұрын
Venkat , hope you are well. what is your next playlist ?
@ashimbera23
@ashimbera23 9 жыл бұрын
Sir, Awesome videos, Could you please suggest some handbook for Jquery??
@mfmusics4680
@mfmusics4680 7 ай бұрын
Tnx....
@make-it-easy
@make-it-easy 9 жыл бұрын
Thanks
@artemboss1999
@artemboss1999 9 жыл бұрын
very interesting
@donfeto7636
@donfeto7636 5 жыл бұрын
Thanks alot man i build this client site question answer based on your video soon i will make exam system if i have free time here is my code for anyone just copy past and test $(document).ready(function(){ $("#sortable1").sortable({ placeholder:'placeholder', opacity:0.8, items:'li[data-value="weekday"]' }); }) function CheckAnswers() { $("#sortable1 li[data-Order]").removeClass("wrong") $("#sortable1 li[data-Order]").removeClass("correct") //you chceck the order only make sure you check for every specific postion not just order it will cause erros //if he asnwer all wrong will give him 1 answer=["2","4",'5','6','1',"00","77"]; //if question goes more than 100 correct=0; wronglist=[]; //You can take the order of the answer as parmeter and put instead of 24561 but make sure you send string '2341' the order you wanted var answers=$("#sortable1 li[data-Order]") if(answers.length>0) { Result="" alert("You Have Answered " + (answers.length-0) +" Questions"); answers.each(function(i,e){ if(e.getAttribute("data-order")==answer[i]){ Result+=e.getAttribute("data-order"); $(this).addClass('correct'); correct+=1; //you can even know excautlly what he answer right and wrong from here and high light those in red }else{ wronglist.push(e.getAttribute("data-order")) } }) //high light the wrong elements console.log(wronglist); var all =$("#sortable1 li[data-Order]") all.each(function(i,e){ if(wronglist.includes(String(e.getAttribute("data-order")))) { console.log(this) $(this).addClass("wrong") } }) if(Result==="245610077"){ alert("Well Done YOu answer all correctly") }else if(Result.length!="245610077".length){ alert("You didn't complete all answers "+correct +" Only was correct") }else{ alert("Some of your answers are wrong "+correct +" Only was correct") } }else{ alert("You didn't answer anything") } $("#btnz").attr("disabled","true") } .wrong{ background-color: red !important; } .correct{ background-color: green !important; } ul{ float: left; } li { border:2px solid gray; padding:10px; cursor: pointer; margin:3px; width:300px; height:10px; line-height: 10px; color: black; list-style-type: none; overflow: hidden; } .placeholder { border:2px solid gray; padding:10px; margin:3px; width:300px; height:10px; background-color: darkgray; } .ui-sortable-handle { background-color:gray; color:white; } .content{ max-width: 900px; margin: auto; } .Questions{ overflow: hidden; } Answers Sunday Monday tuseday wedensday thurseday friday saturday Questions Sunday Monday tuseday wedensday thurseday friday saturday Click Check
jquery background color animate
6:57
kudvenkat
Рет қаралды 22 М.
jquery tooltip from database
16:12
kudvenkat
Рет қаралды 22 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Customizing droppable widget
11:07
kudvenkat
Рет қаралды 16 М.
optimize jquery progress bar
15:58
kudvenkat
Рет қаралды 31 М.
jQuery UI: Table with Sortable Rows using jQuery UI's sortable Interaction
13:08
jQuery sortable widget
11:40
kudvenkat
Рет қаралды 23 М.
jQuery autocomplete with images and text
20:12
kudvenkat
Рет қаралды 28 М.