www.webdeveloper.com

Search:

Type: Posts; User: mielke

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    822

    input text onchange event

    How do I make a text input fire an event when it is automatticlly updated...

    function first_sender()
    {
    document.getElementById('second_sender') = "done";
    }
    function alert_user()
    {
    ...
  2. Thread: php html post

    by mielke
    Replies
    2
    Views
    1,415

    Yeah i considered that, but there may be a LOT of...

    Yeah i considered that, but there may be a LOT of these if statements that way. Is there any more simple/elegant way of doing this?
  3. Thread: php html post

    by mielke
    Replies
    2
    Views
    1,415

    php html post

    if I have the following html in which there is a series of submit buttons and a corresponding text field, which differ only in their names via a counter...

    <form name="form_test" method="post"...
  4. Thread: PHP form post

    by mielke
    Replies
    4
    Views
    1,822

    Thanks hyperionXS, that worked great!

    Thanks hyperionXS, that worked great!
  5. Thread: PHP form post

    by mielke
    Replies
    4
    Views
    1,822

    PHP form post

    If I have the bellow html form...

    <form name="form_test" method="post" action="PHP_TEST.php">
    <input type="submit" value="Save" name="send_post_save"></input>
    <input type="submit"...
  6. Replies
    8
    Views
    2,784

    Thanks Hyperion that worked great.

    Thanks Hyperion that worked great.
  7. Replies
    8
    Views
    2,784

    so my questions is how to structure the implode...

    so my questions is how to structure the implode statement for a 2-D array...

    <?php
    $php_array = array(array('a',0,1),array('b',0,1));
    echo '

    function print_array()
    {
    var js_array = new...
  8. Replies
    8
    Views
    2,784

    this works perfect for a 1-D array...

    this works perfect for a 1-D array...

    <?php
    $php_array = array('a',0,1);
    echo '

    function print_array()
    {
    var js_array = new Array();
    js_array = [' . ($php_array ? '"' . implode('", "',...
  9. Replies
    8
    Views
    2,784

    Javascript array from php array

    I've been using the following code to create a one dimensional javascript array from a php array, and it has been working great...

    var js_array = new Array();
    js_array = [' . ($php_array ? '"' ....
  10. Replies
    2
    Views
    996

    IE absolute position problem

    I've noticed when I use absolute position and try to stretch it across the entire screen I get an annoying border of about 10px on the right side. This is only with IE...

    <body>
    <table...
  11. Thread: php and html

    by mielke
    Replies
    3
    Views
    768

    hamburglar! That worked perfectly thanks alot!

    hamburglar! That worked perfectly thanks alot!
  12. Thread: php and html

    by mielke
    Replies
    3
    Views
    768

    php and html

    Can PHP be used the following way? PHP cod be referenced in the header of a main page.

    <!--HOME PAGE-->
    <html>
    <head>
    <script type="text/javascript" src="main.php"></script>
    </head>
    ...
  13. Replies
    11
    Views
    1,648

    *correction last line is ";

    *correction last line is
    ";
  14. Replies
    11
    Views
    1,648

    Every things been working for me up till the last...

    Every things been working for me up till the last example. Im getting a syntax error any suggestions...

    echo "
    function html_event()
    {
    var items = [\" . ($php_array ? \""\" . implode(\"",...
  15. Replies
    11
    Views
    1,648

    Thanks bionode that works great...one more thing...

    Thanks bionode that works great...one more thing tho
    What if I wanted to add them to a combo box instead of doing an alert...

    echo "
    function html_event()
    {
    for(var i = 0; i <=3; i++)...
  16. Replies
    11
    Views
    1,648

    Thats pretty much it, heres my reasoning (or lack...

    Thats pretty much it, heres my reasoning (or lack thereof)...

    The goal is to store stuff in a database and print out certain stuff whenever a html event is triggered.

    so the website is loaded...
  17. Replies
    11
    Views
    1,648

    thanks for the quick reply bionoid I'm actually...

    thanks for the quick reply bionoid
    I'm actually echo-ing a function that is triggered by an html event (don't ask why)
    so it's really...

    echo "
    function html_event()
    {
    for(var i = 0; i...
  18. Replies
    11
    Views
    1,648

    my syntaxt was wrong, the second code should...

    my syntaxt was wrong, the second code should read...

    for(var i = 0; i <=3; i++)
    {alert(\"".$php_array[i]"\");}
  19. Replies
    11
    Views
    1,648

    javascript in php

    Ok I've got a strange one...
    I have an external php file that is posting some javascript that includes a php array...

    echo "
    ...
    alert(\"".$php_array[0]"\");
    ...
    ";

    so far so good. but if...
  20. Replies
    6
    Views
    772

    ok...any example, reference, or help? I've never...

    ok...any example, reference, or help? I've never used AJAX.
  21. Replies
    6
    Views
    772

    Multiple JS files

    How do I set the source for a javascript based on an 'if' condition. For examlple if I have a variable "test", that is previously defined, which depending on it's value, points to the .js file the...
  22. Replies
    4
    Views
    1,111

    I just want the correct index to pass to the js...

    I just want the correct index to pass to the js function whenever the action is triggered
  23. Replies
    4
    Views
    1,111

    javascript var value

    I am creating HTML elements in a javascript for loop. One HTML elemnet calls a function and passes the javascript variable...

    for(var index = 1; index <= qty; index = index + 1.0)
    {
    ...
  24. Replies
    4
    Views
    2,319

    Sorry again everyone I was looking over my code...

    Sorry again everyone I was looking over my code and I found a small syntax error the code in my initial post does work. This was just a quick guesse of what I think the code should be... and too my...
  25. Replies
    4
    Views
    2,319

    Sorry I wasn't too clear on my question... which...

    Sorry I wasn't too clear on my question... which is how do I the mentioned (ie how do I have an external js file that uses variables defined in the parent .html file). I posted my initial feeble...
Results 1 to 25 of 29
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles