Jump to content

mfarrell

Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by mfarrell

  1. CoffeCup HTML >>>Let the jokes start now.... I Know..there are probably better choices.
  2. Let me try to simplify the question.... why does <script>$(document).ready(function(){ $("#SDP").click(function(){ $("#div1").load("image_control.html"); }); }); </script> work and load, at least in my editor it later fails to load the html in Chrome. and why does <script> $(document).ready(function(){ $("#LHS").click(function(){ $("#div2").load("heard_size.html"); alert('LHS'); });});</script> fail, and only the alert portion works?
  3. I guess I am underwhelmed at the 'power' on display there
  4. not in here..I click the top radio button 12345678910111213141516171819202122232425262728293031323334<!doctype html><html lang="en"><head> <meta charset="utf-8"> <title>attributeEquals demo</title> <script src="//code.jquery.com/jquery-1.10.2.js"></script></head><body> <div> <label> <input type="radio" name="newsletter" value="Hot Fuzz"> <span>name?</span> </label></div><div> <label> <input type="radio" name="newsletter" value="Cold Fusion"> <span>value?</span> </label></div><div> <label> <input type="radio" name="newsletter" value="Evil Plans"> <span>value?</span> </label></div> <script>$( "input[value='Hot Fuzz']" ).next().text( "Hot Fuzz" );</script> </body></html>Demo: Hot Fuzz value? value?
  5. Yours is not function in exactly the same manner mine did not function. The Dairy planner loads. The Heard Sizer alerts but does not load. Both documents are local to the one calling it. Thanks!
  6. I have, and continue. However they seem to fall short at this stage of my understanding....or maybe I'm falling short of understanding... I can type and retype any of the tutorials and of course they work. Doing small useless things. When I try to do something I need or want, they fail to cover those methods. I'm sure you were all there at some point.
  7. Actually it doesn't do anything...I read it, and what I'm expecting to happen is not for the text below to remain "value?" I was expecting it to change to "Hot Fuzz" per the text. It doesn't change, and thus proves to be an example of nothing.
  8. I've read myself in circles on those pages. That would be why I'm asking for help here. An example of what I should do to get what I have to work would go a long way towards my understanding. I've not seen any examples that explain clearly how do I make multiple buttons, and let them an individual function. As politely as possible I am asking "what or how do I change what I have so that it works. Thanks!
  9. The example shown on that page doesn't appear to do any thing....when I click the radio button(s) nothing changes..?
  10. I removed the file name and it still won't load that page. I tried <button name=" b1" and that didn't seem to work in either case...
  11. I am very new, so this question my not even be right! Two things have me puzzled. First the SDP button works in my editor. But the LHS button only produces the alert without loading the heard size.html, why? Then when I attempt to view in CHROME the console reports Uncaught ReferenceError: LHS is not defined Uncaught ReferenceError: SDP is not defined Again why? It seems to work in my editor. Thanks for helping a total NOOB! Really I'm lost. </head> <body><button name="SDP">Start Dairy Planning</button> <button name="LHS">Load Heard Sizer</button><script> //loads dairy plan page$(document).ready(function(){ $(SDP).click(function(){ $("#div1").load("image_control.html"); });});</script><script> //loads heard size functions $(LHS).click(function myfunction(){ $("#div2").load("heard size.html"); alert ("Enter Total Number of Milking Head"); });</script></head><body><div id="div2"> </div><div id="div1"> </div> </body></html>
×
×
  • Create New...