www.webdeveloper.com

Search:

Type: Posts; User: html20009876

Page 1 of 9 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    375

    get last query statement

    How to get last query statement, which includes at lease "INSERT INTO" and "SELECT", but hope for more.

    Thanks.

    .
  2. Replies
    1
    Views
    464

    Array() and array(), any difference?

    Is there any differences between uppercase Array() and lowercase array()?

    My answer from guess is NO.
    Do you think so?

    Thanks.

    .
  3. Replies
    2
    Views
    420

    Why use and why not use var?

    class My
    {
    var $name;
    }

    I am wondering:
    in which case should the 'var' be used?
    in which case should the 'var' NOT be used?

    What does the 'var' really mean? meaningless?
  4. Replies
    3
    Views
    526

    Hi NogDog, I never think there is a solution...

    Hi NogDog,

    I never think there is a solution for my need.
    Your code is over magic!

    Does the checking function heavily slow down php execution?

    Thanks a lot.

    .
  5. Replies
    3
    Views
    526

    Add limitation to php class

    This is C++ class format in php style:


    class My
    {
    var $name;
    }

    A variable must be defined before use in c++, i.e:
    $my = new My();
  6. Replies
    3
    Views
    1,233

    Hi NogDog, It is useful, I will try to see if it...

    Hi NogDog,
    It is useful, I will try to see if it is suitable for my need.
    Thanks.
  7. Replies
    3
    Views
    1,233

    Convert a string to a variable name

    $name = "nice day!";
    $wish = "$"."name";

    echo $name;
    echo "<br>";
    echo $wish;


    Output:
    nice day!
  8. Replies
    1
    Views
    1,837

    div.onresize

    how to register or add-listener for event of div.onresize for major browsers (IE, firefox and google)?

    Thanks for sample code.


    .
  9. Pass values from html to php : third method

    I know 2 methods for passing html (javascript) values to php:

    1. by link parameters, such as my.php?route=red.
    2. by form.

    I am wondering if there is third method to pass values from html to...
  10. html to php : pass object's value without form

    html code

    <input type="text" value="good on you" name="nameInput"/>
    <input type="submit" value="Submit" onClick="nameInput.submit();" method="post" action="receiver.php">

    receiver.php

    <?php...
  11. How to get real count of a check-box array?

    html form

    <form value="something" name="nameForm" method="post" action="receiver.php">
    <input type="text" name="myText[]" value="Red" />
    <input...
  12. Replies
    1
    Views
    506

    How to get a free rich-edit control?

    Many sites, including this forum, use rich-edit control for inputting and editing.

    I need a control of this kind for my web-site, how to get/download it for free?

    Thanks.

    .
  13. Replies
    0
    Views
    370

    add Listener for firefox

    by default, div.onresize is not working on FireFox.
    so, I add listener as following:


    <script type="text/javascript">
    window.onload = addListener;

    function addListener()
    {
    var n =...
  14. another way to replace for(var key in o) ?

    Is code of for(var key in o) only way to enumerate properties of object o?

    Is there second way for enumerating properties of object o?

    Thanks.

    .
  15. enumerating all properties of a class

    Is there an idea to enumerate all properties of a class?

    i.e. for class Math,
    how to enumerate its properties - such as max(..), min(..) ?

    BTW: code of for(var key in Math) doesn't work.
    ...
  16. Replies
    11
    Views
    1,435

    get object from string

    a string contains system object name, which may be:
    "window", "document" etc.

    is it possible to obtain system object from its name-string?

    i.e.
    var n = someFunction("window");
    to let n =...
  17. Replies
    5
    Views
    817

    var mySel = document.getElementById('my-select');

    var mySel = document.getElementById('my-select');
  18. Replies
    5
    Views
    817

    insert to on IE

    //meSel is an object of <select>
    mySel.innerHTML = "<option value='name'>name</option>";
    Code above failed on IE and is OK on FireFox.

    Do you have idea to insert <option> to <select> for IE by...
  19. You code looks like an AD other than a sample.

    You code looks like an AD other than a sample.
  20. Need example code of drag-drop for

    I need to drag a <div> then drop it into another <div>.

    The action has to work for IE8, firefox on XP.

    Thanks for link to useful code.

    .
  21. Replies
    5
    Views
    874

    007Julien, nodeType of both and ...

    007Julien,

    nodeType of both <script> and <div> is the same : 1.
  22. Replies
    5
    Views
    874

    Enumerate by children

    Enumerate children of a parent element may encounter different tags,
    i.e. <script> and <div> etc.

    They are 2 kinds of tags - text (script, style ...) and visible (div, table ...) elements.
    Is...
  23. What is difference of the 2 functions?

    <script type="text/javascript">
    window.onresize = resizeWindow;
    function resizeWindow()
    {
    alert("I am resizing!");
    }
    </script>

    Above function is called every time when window resizes.
  24. Replies
    0
    Views
    424

    How to wait for window events?

    I need to do somethings under following events:


    1. user add or remove tool-bars and status-bar.
    2. scroll-bar appears or disappears when user resizes window.

    How to get those events?
    ...
  25. Replies
    0
    Views
    495

    Get maximum available client height

    maximum-available-client-height is height of browser client area, which excludes menu-bar, tool-bars and scroll-bar when browser is at maximum state.

    The value is a constant and keeps unchanged...
Results 1 to 25 of 210
Page 1 of 9 1 2 3 4
HTML5 Development Center



Recent Articles