Note that there are some explanatory texts on larger screens.

plurals
  1. POhtml/javascript/css how to combine and fix this
    primarykey
    data
    text
    <p>ok well this is everything but my problem is very small.. the page is setup, the point system is correct all i need to do is have the inputs show match up to the point system and show the alert associated with it.</p> <p>the issue is when a user enters commands in the text box's it should alert what there rank is (pro,novice,beginner,noob) </p> <pre><code> &lt;HTML&gt; &lt;HEAD&gt; &lt;script&gt; function system(){ var point=document.world.system.txt_points.value var tourn=document.world.system.txt_tourn.value var level=document.world.system.txt_level.value var check=document.world.system.txt_check.value var results=document.world.system.txt_results.value if ((point&gt;=100000)&amp;&amp;(level&gt;10)&amp;&amp;(tourn&gt;25)) { results=alert("pro status") } if((points&gt;=100000)&amp;&amp;(level&gt;10)) { alert("Novice") } if (point&gt;=100000) { alert("beginner") } if (points&lt;100000) { alert("noob") } if (check=true) { alert("pro") } } &lt;/script&gt; &lt;/HEAD&gt; &lt;BODY&gt; &lt;form name="world"&gt; &lt;center&gt; &lt;table border=3&gt; &lt;/center&gt; &lt;b&gt; &lt;th&gt;&lt;font size='16'&gt;defined&lt;/font&gt;&lt;/th&gt; &lt;/b&gt; &lt;th&gt;&lt;font size='16'&gt;user input&lt;/font&gt;&lt;/th&gt; &lt;/center&gt; &lt;tr&gt; &lt;td&gt;How many points have you earned?&lt;/td&gt; &lt;td&gt; &lt;input type="textbox" name="txt_points" size='50'id='point'&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;How many tournaments have you played in?&lt;/td&gt; &lt;td&gt; &lt;input type="text box" size='50'id='tourn' name='txt_tourn'&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;highest level&lt;/td&gt; &lt;td&gt; &lt;input type="text box" size='50'id='level' name ='txt_level'&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Have you won atleast 1 tournement&lt;/td&gt; &lt;td &gt;&lt;center&gt; &lt;input type="checkbox"id='check' name=txt_check&gt; &lt;/center&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;your world of wizards ranking is &lt;/td&gt; &lt;td&gt;&lt;center&gt; &lt;input type="submit"value ="submit"&gt; &lt;br&gt; &lt;input type ="text box" name ="txt_results"&gt; &lt;/center&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/center&gt; &lt;/form&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload