www.webdeveloper.com

Search:

Type: Posts; User: Da_Elf

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. ok found my first mistake having disabled = true...

    ok found my first mistake having disabled = true instead of disabled == true

    from there i did a lot of trial and error and even more googling until i found being able to use loop1: and break...
  2. [RESOLVED] break doesnt just break out of a loop it breaks my whole code

    In the below code i have a checkbox to select or deselect all. and then three options i can enable or disable.
    The idea is that if any of them go red the checkall box is unchecked. and if all of...
  3. function assgAll(){ var...

    function assgAll(){
    var chGo=document.getElementsByName("ckboxes[]");
    if (document.getElementById('selAll').checked){
    for (i = 0; i < chGo.length; i++){
    chGo[i].checked = true ;}
    }...
  4. i dont know jquery.

    i dont know jquery.
  5. thanks but thats jquery

    thanks but thats jquery
  6. i went with this function assgAll(){ if...

    i went with this


    function assgAll(){
    if (document.getElementById('selall').checked){
    for (i = 0; i < document.myform.ckboxes.length; i++){
    document.myform.ckboxes[i].disabled = true ;}...
  7. [RESOLVED] 1 checkbox disables the rest of the checkboxes

    ive got 1 checkbox called "selectall" and i want it to disable the rest of the checkboxes in the form. if i give it an id of "selall" and all of the rest id's of "all" when i click it only the 1st...
  8. Replies
    1
    Views
    993

    Reseting select in form

    i have it working if i do not try a variable with it

    document.formName.selectName.selectedIndex = "0";

    when using it in a function with variables it doesnt work


    function bob(fname,sname){...
  9. Replies
    0
    Views
    230

    [RESOLVED] Change select to input

    Ive changed my code below to reflect the working code

    Im trying to do the change via divs and it should work once i figure out the javascript function. this is the basis of my code(naturally ive...
  10. for anyone who is interested. this is how i...

    for anyone who is interested. this is how i resolved it

    <?php
    if(isset($_POST['update'])){
    foreach ($_POST['product'] as $p){
    echo $p['product_id']." is the id and...
  11. Replies
    5
    Views
    452

    i only quickly looked at it. what exactly are you...

    i only quickly looked at it. what exactly are you trying to do. from the look of it your not setting your session variables to be anything at the start
  12. Replies
    5
    Views
    452

    if memory serves me right you must use...

    if memory serves me right you must use session_start() at the start of your code right after <?php
  13. i thought that method would just set the array so...

    i thought that method would just set the array so that the product_id is the key and the value is the value of the key. which i cant see would work

    rather than trying to fix something that doesnt...
  14. on the other side im using $products =...

    on the other side im using

    $products = $_POST['product'];
    foreach ($products as $p){
    echo $p."<br>";
    }

    i was going to seperate them via substr. how do i get my info now? all im getting is...
  15. [RESOLVED] adding extra value to text input array

    I'm listing out a bunch of products from a database using a while loop and next to it I'm placing the quantity of products. I want to be able to update the quantity, so I've placed it inside of an...
  16. Replies
    0
    Views
    413

    Forms that dont refresh the page

    Ive seen that there are forms that dont reset the page using jquery. however im not well versed in it and am still not 100% comfortable with jquery so my brain usually goes on the rampage trying to...
  17. Replies
    5
    Views
    514

    no problem. just took me running through the...

    no problem. just took me running through the logic over and over again till i saw the glaring error
  18. Replies
    5
    Views
    514

    DOH!!! never mind. found the problem. i set...

    DOH!!! never mind. found the problem. i set $fnumber up as the username at the start of that first loop. but then inside the loop i boil $fnumber down to a number. so when it goes to do the loop...
  19. Replies
    5
    Views
    514

    actually its not looking at the last number. if...

    actually its not looking at the last number. if you look it the second do what it does it is it strips away every letter from the start and each time tests to see if its left with a pure number. so...
  20. Replies
    5
    Views
    514

    autoincrement username registration

    Ok so i wanted a script that when your registering on a website it would check and see if the name exists and if it does then it will autoincrement the name with a number on the end. Some problems i...
  21. Replies
    1
    Views
    400

    Cant figure out where im going wrong

    Sorry to the admins about the title. i realised i didnt put the right descriptive topic there

    The background image is not changing for this div and it seems like ive got it right. should be fairly...
  22. Replies
    1
    Views
    583

    changing div position

    Below is my code. I dont know why its not working. The DIV should reposition itself to be 20 pixels below the table but it just stays on the top


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...
  23. never mind. figured it out. needed to use ...

    never mind. figured it out. needed to use

    parent.document.getElementById(a).style.visibility = 'visible';
  24. Link in Iframe to affect a DIV on the parent page

    Ive got a parent page which contains an iframe.
    on the parent page is a div.
    in the iframe is a link with an onclick added to it to drive a function to hide or unhide the div on the parent page....
  25. one tiny thing more. if i had to put in a where...

    one tiny thing more. if i had to put in a where clause where would it go? for instance in this case adding another column to the table called size. and i put in a WHERE fruit_size = big
Results 1 to 25 of 34
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles