IneedHelp Posted October 18, 2011 Share Posted October 18, 2011 Hi guys im totally new to this. Im taking Transaction Processing I for the first time and it is ###### for me, first of all i am a total noob at this and my teacher doesnt teach at all so i am teaching my self. and sorry if i make mistakes on this post ( which is my first post of my life)..... so my question is this what is the javascript code for this particular function (lets call it p1) .... Below is the textarea named ta with the data from the spreadsheet pasted inside. XLdata col 1 col 2 col 3 row sum row 1 11 12 13 36 row 2 21 22 23 66 row 3 31 32 33 96 row 4 41 42 43 126 row 5 51 52 53 156 col sum 155 160 165 480 XLdata col 1 col 2 col 3 row sum row 1 11 12 13 36 row 2 21 22 23 66 row 3 31 32 33 96 row 4 41 42 43 126 row 5 51 52 53 156 col sum 155 160 165 480 Link to comment Share on other sites More sharing options...
IneedHelp Posted October 18, 2011 Author Share Posted October 18, 2011 sorry it didnt come out the way i wanted to but here is link for what im trying to say http://www.bauer.uh.edu/parks/s1171m.htm Link to comment Share on other sites More sharing options...
thescientist Posted October 18, 2011 Share Posted October 18, 2011 so, you're asking us to do your homework? That's not really what we do. What we will do, is help you, provided you present some code showing some attempt at the issue, and provided you ask specific questions pertaining to a particular issue you are having trouble with. Link to comment Share on other sites More sharing options...
IneedHelp Posted October 18, 2011 Author Share Posted October 18, 2011 no i dnt want you to do the homework(that is not an homework its and previous exam, to help us) i just want to know where is exactly the javascript and vbsrcipt code is once u go to view source thats all so i can understand. and im sorry if i came at this the wrong way. Link to comment Share on other sites More sharing options...
Ingolme Posted October 19, 2011 Share Posted October 19, 2011 Javascript code is found between script tags. If the script tags are empty, follow the URL if their src attribute. The activity description pretty much tells you exactly what to do.Parse the input string character by character (using a loop and charCodeAt). If the character isn't special, append it to the output string as is, if it is special then transform it into the indicated tags and append those to the output string. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.