Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. BennySHS

    hide/view site content

    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...
  2. BennySHS

    SQL Server 2005 Express - Remote Connections don't work

    Hi gmmastros, thx for your answer. I'm working with SQL Server 2005 Express, could you explain how to do it there ? Thx in advance, greets, ben
  3. BennySHS

    SQL Server 2005 Express - Remote Connections don't work

    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...
  4. BennySHS

    get Value of textbox / input-field

    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...
  5. BennySHS

    get Value of textbox / input-field

    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...
  6. BennySHS

    get Value of textbox / input-field

    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...
  7. BennySHS

    Calculate color-nuances

    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...
  8. BennySHS

    Calculate color-nuances

    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
  9. BennySHS

    Calculate color-nuances

    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...
  10. BennySHS

    Help with select needed

    hi Andrew, thx a lot for your help, with a "distinct" it works fine! greets, ben
  11. BennySHS

    Help with select needed

    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...
  12. BennySHS

    Javascript-Menue: Remember open menues

    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...
  13. BennySHS

    keystroke onClick()

    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...
  14. BennySHS

    keystroke onClick()

    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
  15. BennySHS

    Problem with multi-delete

    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...
  16. BennySHS

    fulltext-index; problem with join

    Hi there, I use a fulltext-index for searching my database. The old query searched only in a table called 'user'. The old query was no problem, but now there another table I need to search too. First my original query: SELECT * FROM tbl_user WHERE MATCH (name, strasse, beschreibung...
  17. BennySHS

    Problem with multi-delete

    Hi there, i got a tbl_categoie and a tbl_branchen. A Categorie can have N branches. When I delete a categorie, I want to delte all its branches too, and this in one statement. I tried the following: $SQL = "DELETE tbl_rubriken, tbl_branchen FROM...
  18. BennySHS

    submit.form() + queryString-values

    hey all again! @BabyJeffy: thx for this solution, I've made it this way and its ok so ;) @BillyRayPreachersSon sorry for the confusion, I have some problems to write a "clear" english...Sometimes its hard for me to exactly say what I mean...I'm still learning ;) thx again, and I'm very...
  19. BennySHS

    submit.form() + queryString-values

    of course the user dont care about the name-attribut of my buttons, but my script does. with the NAME-attribut i can get the VALUES of an element. <input type="submit" name="delete" value="34"> if (true == isset($_POST['delete'])) { echo $_POST['delete'] // output: 34 } Plesase explain me...
  20. BennySHS

    submit.form() + queryString-values

    hey dan, yes the buttons need the same name, because it looks very ugly to the user if the label of the button is the ID of a customer instead of "delete" or so... the thing is I got a list with people-accounts and I need a button for each to delete them. Its not the first time I have...

Part and Inventory Search

Back
Top