Hey,
you could youse a function like this:
function showHide(element) {
obj = document.getElementById(element);
if (obj.style.display == 'none' ||obj.style.display == '' )
obj.style.display = 'block';
else
obj.style.display = 'none';
}
Just give your DIV an ID, and pass this ID to...
Hi there,
I'm a newbie with the Mssql-Server, and short time after installation I encounter the first problems I can't solve by myself :[
I try to connect (locally) to my server with the 'SQL Server authentication' method, but always get the error 18452:
'The user is not associated with a...
Hi there,
thx to all for the much replies and tips.
I'll explain short what I wanted to achive:
On my pages are two forms. Every form has its own submit-button.
Now when submitting form b I wanted to access via JS the content of form A. And the access to the content of form A happened during...
hi guys,
thx a lot for your answers.
>You also want to make sure you do not attempt to access the >DOM until after the page has loaded (and the onload event has >triggered).
Guess that's the problem.
I tried to get the Value of the element in a if-condition at the top of the page.
Its more...
Hi there,
I'm trying to read the value of a textbox and/or a hidden input field.
I tried the following code:
alert(document.getElementById('bereich').text);
and alert(document.getElementById('bereich').value);
and both doesnt work. I goolged for a while to find other solutions, but they...
If somebody is interested in such a function in php:
<?
/**
* Convert a hex colour string into an rgb array.
*
* Handles colour string in the following formats:
*
* o #44FF55
* o 4FF55
* o #4F5
* o 4F5
*
* @return array...
Hi tsdragon,
thx a lot for your fast reply.
I guess that was the trigger for me, can't be hard to find some functions for this job and the rest should be easy.
Thx !
greets ben
Hi there!
I know my question is not a javascript-question, but I hope one of you guys made something similar that could help me.
What I want to do:
The users on my site has the ability to select their own colors. But they can't select the the colors for every element. Some elemtns should get a...
hey there,
I want to do the following, but can't write the correct statement:
Tables:
tbl_user
user_id | username
tbl_group
group_id | groupname
tbl_useringroup
user_id | group_id
All I want is to select all tbl_group.groupname where the user is not in. (the goal is to show a selectbox...
hi again,
here I am with another little problem...
I'm trying to make a javascript-menue where you can open the submenues with javascript.
the html:
<div style="float:left">
<a href="#" onClick="setVisibility('benutzer_bearbeiten_sub');" class="navbutton">Benutzer-Verwaltung</a>
<div...
hi!
the f11 was a bad example...it doesn't matter which key is the hotkey.
What I want to do:
I work on an php-based backoffice-software and need this functionality:
A user got a touchscreen and in the backoffice-software is an javaapplet where you can paint something.
The user should be able...
Hi there,
I want to do the following:
When a form is submitted, I need a function which provokes a keystroke, for instance F11.
Is this possible to do with javascript ?
Thx a lot,
greets ben
hi kehers,
thx for your reply!
yes I work with php, but I want to solve this with an multi-delete-statement, because I hate it to make a while-loop and starting dozens other querys. (I think this is not very performant or elegant...)
So I like to now if this is impossible to do, or how do I...
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.