Jump to content


  • Posts

  • Joined

  • Last visited

About jesh

  • Birthday 01/01/672

Previous Fields

  • Languages
    ASP.NET (C#), (T-)SQL, javascript, HTML, CSS

Contact Methods

  • Website URL
  • ICQ

Profile Information

  • Location
    Portland, Oregon

jesh's Achievements

Devoted Member

Devoted Member (5/7)



  1. Doesn't sound normal to me. How are you populating the dropdown list?
  2. jesh

    Configuring Asp.net

    What version of IIS are you using?Visual Studio has its own web server that you can use for testing so IIS isn't absolutely necessary until you are ready for your site to go live.
  3. If the other machine had a web server, you could create a page that the first machine hits which fires off that exe.
  4. You have to put commas between the columns that you want returned. This query:SELECT FORMAT(balance, 2) * FROM accounts ORDER BY name ASC is going to fail just like this would: SELECT balance name FROM accounts ORDER BY name ASC Try this: SELECT FORMAT(balance, 2), * FROM accounts ORDER BY name ASC
  5. Both events are firing, it's just that the mouseover handler is only set up to deal with the mouseover event. The mousemove event isn't going to be doing anything while the mouseover event is being handled because the mouseover event is a snapshot in time. The mousemove event is happening, the mouse goes over the image element, and the mousemove event continues to fire.Here's a brief example (tested only in Firefox): <html><head><script type="text/javascript">window.onload = function(){ document.getElementById("image").onmouseover = imgover; document.onmousemove = mover;}function mover(e){ e = e || window.event; document.getElementById("output").innerHTML = "(" + e.clientX + " , " + e.clientY + ")";}function imgover(e){ e = e || window.event; var colors = ["#F00","#0F0","#00F","#FF0","#F0F","#0FF" ]; document.getElementById("image").style.borderColor = colors[Math.floor(Math.random()*colors.length)];}</script></head><body><img id="image" src="http://w3schools.invisionzone.com/style_images/6_logo.png" style="border:8px solid #000;" /><div id="output"></div></body></html>
  6. One method is with fancy markup:http://www.cssplay.co.uk/boxes/snazzy.htmlAnother is to use CSS3:http://www.css3.info/preview/rounded-border/
  7. jesh

    How To Start Asp.net?

    Also, get yourself a copy of Visual Studio. Or, you can use Visual Web Developer Express for free:http://www.microsoft.com/express/vwd/
  8. jesh


    Don't forget that this works too: <input type="password" id="MyPasswordField" runat="server" />
  9. You could do something like this: <html><head><script type="text/javascript">window.onload = function(){ document.getElementById("loading").style.display = "none"; document.getElementById("content").style.display = "";}</script></head><body><div id="loading">This is some content to show while the page is loading.</div><div id="content" style="display:none;">This is the main content of the page</div></body></html>
  10. If you opened the window like so: var win = window.open(); Then you can bring that window to focus at any time later in your code using the following: win.focus(); EDIT: Check out the HTML DOM tutorial for more information about what you can do with the window object:http://www.w3schools.com/htmldom/dom_obj_window.asp
  11. Yep. var win = window.open();win.document.open();win.document.write("<html><body><h1>THIS COULD BE AN AJAX RESPONSE!</h1></body></html>");win.document.close();
  12. I'm thinking horribly low, but, as a first job, you take what you can. Good luck.
  13. jesh

    What The %$#@?!

    Also note this - the following will execute the alert:<script type="text/javascript">function login(){ alert('GOOOO');}</script><input type="button" name="login" onclick="login();" /> Whereas this will not: <script type="text/javascript">function login(){ alert('GOOOO');}</script><form><input type="button" name="login" onclick="login();" /></form> So, as dsonesuk suggests, keep your function names different than your element names and you won't run into this problem again.
  14. Then you can use an anonymous function: httpObject.onreadystatechange = function() { output("HOLLAH"); }
  • Create New...