Hi all [smile2]
I have a class that contains several variable declarations.
From inside this class, I have methods that get the value of some of the previous variables, not all of them. I think I should have a kind of attribute to know which variables are part of the selection.
For example...
Hi all :-)
I'm very noob in SQL. I work on a survey stuff.
I'd like to write a trigger that does:
when I remove a row of the result table, I get the session_id column of this row and check if there are still rows with this same session_id. If not, I remove this session_id of the session table...
Hi all :-)
Is there a way, in Javascript, to make the browser's taskbar button blink when there is a particular event ? It's like in MSN Messenger ...
Thanks if you know :)
Hi all :-)
I have an HTML page. I would like to have a text that I can update whenever I want, like in a kind of label. This text has a particular style (color ...) so it cannot be in a textarea for example.
The only solution I found is to put this text in a <a id="mytext"></a> tag without any...
It did not work because a Java string is an object. So, to convert Java string into javascript string, I added an empty character like this:
var = java_string + "";
Actually I cannot do that in javascript:
var txt = "abcd";
txt[0];
Instead, I found the chatAt() method.
But I have a similar problem with the following piece of code, where "message" is a string I receive from Java, and message = "Info:\t.\t"
message = message.replace("Info:\t.\t","Info:")...
Hi :-)
I have a web page that contains an java applet. Inside the web page, a javascript function receives a String from the applet. I can print this string, but not access to the characters of the string (as an array):
alert(mystring[0]); => returns "undefined"
Someone has an idea ??
Thanks...
Hi Streich
Yes you are right about <pre> and <code>. I tried before but they did not work as expected. <pre> </pre> goes to the line many times, instead of inserting just spaces ...
Finally what I decided to do:
I insert " " between words, and when a word is empty (when you are...
Actually <pre> is annoying because all the text in <pre></pre> has the format of my environment text, and the text goes to the line tons of times instead one ... damn ...
That if you have any other smart idea :)
Hi all
You know that is the HTML non-breakable space.
The problem is that I would like a breakable space so that my text goes to the line without scrollbar.
And I cannot use the empty character " " (or space) because I work in an array and " " has the same effect as " ".
Does a...
Problem solved:
actually, I should have encapsulate the second line in a try-catch because when the scrolldown is not necessary, it generates a blocking error.
Hi all
I have a web page with an <iframe> called: myiframe
This frame contains a <div> called: mydiv
In a javascript function, I try to scrolldown the <div> like this: oDiv = window.frames["myiframe"].document.getElementById("mydiv");
oDiv.scrollTop = oDiv.scrollHeight - oDiv.clientHeight...
Hardcode ... sedj is totally right. Hardcode is pork code.
Apparently you don't know what it is.
Hardcode is when you write code lines that are applicable only to your application and won't work in all situations (see other better definition on the Web :)
For example, what you did is...
For your last question: YES
But it's not a question of default, but of value.
Indeed:
1 <=> True
0 <=> False
And when you write: if (tmp.checkPath), it's the same as if (tmp.checkPath == True)
Tip: if (!tmp.checkPath) is the same as if (tmp.checkPath == False)
I want to disable BACK so they see old data ... it's the contrary lol.
Imagine, you chat with someone and here is the conversation history, that you see on the web page:
- Hi, what's up?
- I'm fine, what about you ?
- Not much ...
Now, you press one time BACK, you obtain:
- Hi, what's up?
-...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.