Jump to content

Need Help With Javascript Coding


IneedHelp
 Share

Recommended Posts

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

  • Like 1
Link to comment
Share on other sites

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...