Search:
Type: Posts; User: html20009876
Search:
Search took 0.01 seconds.
-
How to get last query statement, which includes at lease "INSERT INTO" and "SELECT", but hope for more.
Thanks.
.
-
Is there any differences between uppercase Array() and lowercase array()?
My answer from guess is NO.
Do you think so?
Thanks.
.
-
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?
-
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.
.
-
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();
-
Hi NogDog,
It is useful, I will try to see if it is suitable for my need.
Thanks.
-
$name = "nice day!";
$wish = "$"."name";
echo $name;
echo "<br>";
echo $wish;
Output:
nice day!
-
how to register or add-listener for event of div.onresize for major browsers (IE, firefox and google)?
Thanks for sample code.
.
-
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...
-
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...
-
html form
<form value="something" name="nameForm" method="post" action="receiver.php">
<input type="text" name="myText[]" value="Red" />
<input...
-
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.
.
-
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 =...
-
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.
.
-
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.
...
-
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 =...
-
var mySel = document.getElementById('my-select');
-
//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...
-
You code looks like an AD other than a sample.
-
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.
.
-
007Julien,
nodeType of both <script> and <div> is the same : 1.
-
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...
-
<script type="text/javascript">
window.onresize = resizeWindow;
function resizeWindow()
{
alert("I am resizing!");
}
</script>
Above function is called every time when window resizes.
-
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?
...
-
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...
|
|