# javascript,jsp

debasis
javascript,jsp
0 Answer(s)      6 years and 10 months ago
Posted in : Design concepts & design patterns
Dear Sir,
I have a table for students' details in a school.unique is their roll number in rows.coloumns are age,sex,grade etc.There is one coloumn vacant for lot no.I want to place equal number of students under one lot number.Then same numbers under another.If there is 60 stuednts.Group them as a,b,c,d,e,f.six group.60/10=6.For the first 10 studets lot no should be generated randomly and should be same.Next 10 students should have same lot no with random generation.User should enter his?her desired lot no after seeing number of records.e.g_if user sees ,there is 54 records,and wants to devide them in 6 groups with 9 students in each group.He/she should enter lot size=6.after saving that number the records should be automatically devided into 6 groups with generation of random numbers with same for 1st 9 students,then same for next 9.but user should calculate the groups he wants to devide.No pagination required.Lot no may vary from user to user and data may be different.might be 60 records or 81.81 means,if he enters lot no=9,9 records under one lot number

Enter LOT size you want:text box .Save button
RollNo Age Sex Location Lot No
452345 4 M ty Empty
545454 6 M 5y Empty
767568 7 M hy Empty
203392 9 M ty Empty
After entering 2,recodrs should be devided into 2 groups with generation of same lot no for first two,and same for next two records.This design is final.please help me.Likewise we can create for 20,30,40 students.

Regards
Debasis Mohapatra

Related Tutorials/Questions & Answers:
Javascript & jsp
Javascript & jsp  Dear Sir, Thanks a ton for all your answers throughout.I asked this question long ago.This time i nedd it very urgent.I think it might be a short solution.How can i get the navigation link whilr traversing
Javascript & jsp
Javascript & jsp  Dear Sir, Thanks a ton for all your answers throughout.I asked this question long ago.This time i nedd it very urgent.I think it might be a short solution.How can i get the navigation link whilr traversing
Javascript & jsp
Javascript & jsp  Dear Sir, Thanks a ton for all your answers throughout.I asked this question long ago.This time i nedd it very urgent.I think it might be a short solution.How can i get the navigation link whilr traversing
Javascript & jsp
Javascript & jsp  Dear Sir, I have a table which has records relating to student name,roll no,sex,subject.address. I have a dropdown list which has...*"%> <html> <head> <script type="text/javascript"> function
Implementing CSS and JavaScript in JSP File
Implementing CSS and JavaScript in JSP File... and JavaScript in jsp. Here we have created three main files.... <script language="JavaScript" type="text/JavaScript" src="../script
javascript - JSP-Servlet
javascript  how to convert a string to long in javascript
javascript - JSP-Servlet
javascript  hi sir.i am preparing one application in jsp which contains 10 rows,each row contains 2 fields,2 fields are droop down list box,in these controls am getting values from database when form is requested.i.eretrieving 3
javascript - JSP-Interview Questions
javascript open new window popup  How to open new window in popup view using JavaScript?  hi friend,<html><title>new window page</title><head></head><body><FORM><INPUT type
javascript - JSP-Interview Questions
Javascript string functions contains  What is the Javascript string functions contains
javascript - JSP-Servlet
javascript  how to generate html table in current jsp page with other form fields with given value in text field.i want to generate subject course table in existing form (which already contains some textfield) each row contains
jsp,javascript - JSP-Servlet
jsp,javascript   Hi, I want to retrieve record and move it. Can any body tell me what is the problem with this code Deparment function update(s) { alert(s); if (s==0) { alert("pr
javascript - JSP-Servlet
javascript  i dont have the jsp code . using simple jsp file and without using alert message box.i need using of getElementByID
javascript - JSP-Servlet
;i dont have the jsp code . using simple jsp file and without using alert
javascript - JSP-Servlet
Disabled JavaScript on Browser  How can i disabled JavaScript for a particular browser
How to get the text from textarea in HTML and store it in database using javascript and jsp
How to get the text from textarea in HTML and store it in database using javascript and jsp  How to get the text from textarea in HTML and store it in database using javascript and jsp <script> function str() { <
unicode support in javascript - JSP-Servlet
the tha text in a text box and sending it to next jsp. we are using UTF-8 encoding for jsp and charset as windows-874 for html meta charset. Can anybody help me... to server functionality We are already using encodingfor jsp 1)and client
Servlets,Jsp,Javascript - JSP-Servlet
Servlets,Jsp,Javascript  Hi in my application i am creating a file... ExportToExcel button, jsp Upload plot nos (.xls format). GO Reset ExportToExcel javascript function excelExport() { document.body.style.cursor="wait
Dynamic row genertion in javascript? - JSP-Servlet
Dynamic row genertion in javascript?  Hi roseindia, I want coding in javascript to add a dynamic row in jsp..This row contain 3 fields(2 textfields,1 textarea).Every time if i click add button have to add dynamically
provide code in servlets,javascript,jsp - JavaMail
provide code in servlets,javascript,jsp  i create mail like fallowing subject:TEXTFEILD Email:TEXTAREA FOOTER:TEXTFEILD >here some radiobuttons as fallowing .coformation .cancellatin mail .waitinglist mail if i
Read Text file from Javascript - JSP-Servlet
Read Text file from Javascript  plz send the code How to Retrieve the data from .txt file thru Javascript? And how to find the perticular words in that file
javascript,jsp - Design concepts & design patterns
javascript,jsp  Dear Sir, I have a code which is not working properly.It is as follows. function calcMinValue(){ var Val="",minValue=9999; Val=document.pagename.txtbox1Id.value; if(Val!= ""){ if(Val
passing values form javascript - JSP-Interview Questions
passing values form javascript  please i want to pass values from javascript function to jsp code how can i do
Call servlet from javascript - JSP-Servlet
Call servlet from javascript  Hi in my application i have jsp that designs view, javascript for validation and servlet that perform business logic , in my jsp i have provided an upload button thet upload single column excel file
Tutorials