Jump to content

darrell

Members
  • Posts

    13
  • Joined

  • Last visited

darrell's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. That's great! On a side note I had to change my line breaks from " + '\n' + " to ' + '\n' + ' (quotes to single quotes) Why is that?
  2. I meant to say how would I make multiple buttons, that each have their own alert.What you've given is one button that shows multiple alerts. Sorry I didn't explain better. I've been experimenting, and found a method that works when I test it, but I'm not sureit is the proper way to code it. <script type="text/javascript">function disp_alert(){alert("Message");}</script><input type="button" onclick="disp_alert()" value="Message" /> <script type="text/javascript">function disp_alert2(){alert("Message 2");}</script><input type="button" onclick="disp_alert2()" value="Message 2" />
  3. I've followed this tutorial: http://www.w3schools.com/js/js_popup.asp How would I go about creating more than one alert box per webpage?
  4. Hello, I've gone through lots of the HTML tutorials on this site, and even managed to include some CSS and Java bits along with my HTML coding. What I would like to learn next is how to make the equivalent of HTML tables, where the top row lists the categories of each column, only with the added feature that clicking on one of the categories will reorganize the table according to the alphabetical order of that column's category. I've found various tutorials online that explain the bits and pieces of coding, but wasn't able to find a completed sample with all the coding combined so that I could see how all the pieces fit together, and have the ability to practice editing that code. Any small simple cross reference code will do, I just want to learn it, and I don't think I will end up using more than 4-6 columns at the most.
×
×
  • Create New...