Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About DamoMoran

  • Rank
  1. Hey guys, making a simple calculator.. Want to make the displaying text field show a zero after you add or subtract etc instead of adding the symbol.. but cant seem to figure it out.. heres what i got! <html><head><script type="text/javascript"></script></head><body><FORM NAME="Calc"><TABLE BORDER=4><TR><TD><INPUT TYPE="text" NAME="Input" Size="16"><br></TD></TR><TR><TD><INPUT TYPE="button" NAME="one" VALUE=" 1 " OnClick="Calc.Input.value += '1'"><INPUT TYPE="button" NAME="two" VA
  2. Hi all, I'm new to javascript and wanted some help with form validation. I have created a website in html, php, and now am incorporating some javascript for client-side validation. I am trying to get a message to display to the user when a field is null using onSubmit and function called noNulls. Its not working for some reason! Similar javascript code has worked on other pages in the site but not this one for some reason!? Appreciate all the help i can get. Thanks in advance. Heres the code for my Registration page: <html> <head> <link rel="stylesheet" type="text/css" href="
  3. Hey guys, Trying to set up a blogging application using php and MySQL. Have the form set up to collect the information but simply isn't working when I launch it on the browser. Just want a simple way of storing the blog that the user enters into a DB that I have set up. Having trouble with it and is returning "unexpected T_VARIABLE" on line 34. Anyway hope someone can help. Thanks for the time Here's my code so far. <?php include ("top_part.php"); ?><?php include ("navi_part.php"); ?> <div id="content"> <?php // Check if form has been submitted and if blankif(isset($_
  4. Problem Solved.. Thanks Scientist!!
  5. DamoMoran

    Help with my CSS

    Hi, Been working on a CSS for a mock website and cant get it to work correctly. For some reason the whole content section becomes a hyper-link and Idon't know why. Where ever I click on the content section it goes straight to my "useful links" page. Here's what I have so far: CSS: body {background: white;margin: 1;padding: 0;text-align: left;text-align: justify;} h1 {font-family:sans serif;font-size: 20pt;text-align:center; color: black;margin: 15px;padding: 10px;} h2 { font-family: sans serif;font-size: 16pt;text-align:left; color: black;padding: 10px;} h3 { font-family: verdana,helvetica,sa
  • Create New...