www.webdeveloper.com

Search:

Type: Posts; User: JavaWinter

Search: Search took 0.02 seconds.

  1. Ok I see. I'm trying to search the query, but I...

    Ok I see. I'm trying to search the query, but I want to use it with the COMM function what can I do to make that happen? The example I have was one of the many ways I saw online except for the COMM...
  2. mysql_query() expects parameter 2 to be resource, object given in...

    Warning: mysql_query() expects parameter 2 to be resource, object given in C:\xampp\htdocs\search.php on line 15

    I get this error message whenever I try to

    This is my code

    <?php

    $db =...
  3. Sorry for the late response and thanks a lot for...

    Sorry for the late response and thanks a lot for helping me out. I did figure out what I needed to do. It was pretty basic. All I need was a function/element is .js to call over to my functions in...
  4. That would great. I can have a look at it.

    That would great. I can have a look at it.
  5. Another great examples, but that isn't it. I was...

    Another great examples, but that isn't it. I was just speaking to them and they wanted the element to be able to come from .js to HTML an example they gave me is

    HTML

    first =...
  6. There is another way...maybe. Lets say I validate...

    There is another way...maybe. Lets say I validate empty text box in function in .js and then I validate expression for say email. Could I make a function in my HTML script using those validation with...
  7. Adding to the last part that blank validation...

    Adding to the last part that blank validation would be nice, but it wouldn't work exactly as each text box would want a different error message. ex: Please provide first name, Please provide email,...
  8. without having to tie it to any form, or specific...

    without having to tie it to any form, or specific forms*
  9. That is really neat and its help, however isn't...

    That is really neat and its help, however isn't exactly what I was looking for I apologize.

    This is my first attempt

    HTML

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    ...
  10. It shouldn't be a problem, as long as it works...

    It shouldn't be a problem, as long as it works and and the same method can be used in other forms to validate I don't see the problem.
  11. Yes, so lets say this function first(fName)...

    Yes, so lets say this


    function first(fName)
    {

    if (fName == "")
    {
    error+= "";
    }
  12. Thank you. I'll inform you here if I find out,...

    Thank you. I'll inform you here if I find out, but if you can I'd still like to see the examples for future reference :)
  13. I really do appreciate the help. When you have...

    I really do appreciate the help. When you have time can you show an example? I kind of see where your coming from, but I'm not sure where to exactly start with that. Thanks
  14. The thing is I need to use the var error a few...

    The thing is I need to use the var error a few times. At the moment I'm just having trouble getting this code to work, but I'm going to have 5 text field and each text field will have an error...
  15. Yes to a degree. Basically I'm going to do the...

    Yes to a degree. Basically I'm going to do the same to most text field and put them in the onBlur event, but validateAll() should actually alert if those fields aren't filled in.
  16. I've tried that you can check it here yourself......

    I've tried that you can check it here yourself...

    http://jsfiddle.net/WinterisComing/5jM6M/4/
  17. Yes, I apologize for that I myself had a hard...

    Yes, I apologize for that I myself had a hard time understanding what they needed done. I initially did have all this completed and working, but it wasn't how they wanted.

    Is that code for the...
  18. I think I figured out a way, but I'm doing...

    I think I figured out a way, but I'm doing something wrong.

    .js file



    var error = "";

    function first(first)
    {
  19. Some what yes. Lets say I have 5 text boxes for a...

    Some what yes. Lets say I have 5 text boxes for a form, and if those 5 text boxes are blank I return a error message, but instead coding all of that in the HTML I'm creating the .js and in that I...
  20. No. I can't use getElementById, so I declare my...

    No. I can't use getElementById, so I declare my variables there to pass it over to the .js file with that function, you can add things in there if you want, but the purpose here is to to put info in...
  21. Maybe this is a little better ...

    Maybe this is a little better


    <head>
    <title>Billing Form</title>
    <script type="text/javascript" src="jsAssignTwo.js"></script>
    <script type="text/javascript">

    function validateForm()
    {
  22. Help with passing values thru HTML and .js file

    I was given a task to create a form, which I have done


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html...
Results 1 to 22 of 22
HTML5 Development Center



Recent Articles