www.webdeveloper.com

Search:

Type: Posts; User: claireneedshelp

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. amazing! thank you it works perfectly! :)

    amazing! thank you it works perfectly! :)
  2. ...

    <div id="divManualUpload" >
    <b>Enter the number of observations: </b>
    <input name="txtNoOfValues" type="text" id="NoOfValues" onblur="return IntegerOnly('NoOfValues', 'number of...
  3. thanks Tcobb but unfortunately that doesnt do...

    thanks Tcobb but unfortunately that doesnt do anything.

    Yeh you are right in thinking....my code is working for removing the textbox but not the br
  4. Removing dynamically created elements

    I am creating textboxes dynamically using the following code:


    function AddElement(type,i){ //Add the element specified in the parameter
    var value="Value";
    var element =...
  5. Replies
    7
    Views
    1,917

    Thanks for your help.....explaining it like i...

    Thanks for your help.....explaining it like i just did in the last reply made me realise what to search for and a different way to do it! I used.......


    $myarray = array(45,3,56,7,21);
    ...
  6. Replies
    7
    Views
    1,917

    thanks...that sorts them fine but how would i get...

    thanks...that sorts them fine but how would i get for example the first set of values in the new sorted array?
    might be easier to explain exactly what the whole thing should do....

    there is a...
  7. Replies
    7
    Views
    1,917

    Ive tried using array_multisort: // Obtain a...

    Ive tried using array_multisort:


    // Obtain a list of columns
    foreach ($TestResults as $key => $row) {
    $AbsDiff[$key] = $row['AbsDiff'];
    $Diff[$key] = $row['Diff'];
    }

    // Sort the...
  8. Replies
    7
    Views
    1,917

    Sort a multidimensional array

    I have created a multidimensional array using the following as part of a for loop

    for ($i=0; $i<=$NumberOfValues-1; $i++) {

    $TestResults["Value".$i]["Obs1"] = $Obs1[$i];...
  9. thank you for your time and code.....what Ive...

    thank you for your time and code.....what Ive been trying to find out...maybe not worded clearly is.....

    where would I call the function checkcookie() ?
  10. you said 'on page load you will check to see if...

    you said 'on page load you will check to see if the cookie exists' Where would i put the code to check if the cookie exists? I dont know where in the code it re loads the page.
  11. Im new to php so I dont really unsertand.....how...

    Im new to php so I dont really unsertand.....how to I make something happen on page reload?
  12. file upload resetting page elements to defaults

    I have used the following code to upload a file and display its contents in a text area however when i click upload file, it not only uploads the file and shows the contents but it also resets all...
  13. nogdog.....after having some time to use your...

    nogdog.....after having some time to use your code and put it together with my own code I have noticed that whenever I click Upload File, the values are put into the text area but all over values in...
  14. thank you so much nogdog that works perfectly! ...

    thank you so much nogdog that works perfectly!

    eval.....that code has completely confused me but thank you for the idea!
  15. Thanks....Ive just tried that and when I select a...

    Thanks....Ive just tried that and when I select a text file and click upload it says 'No file chosen'
  16. ok so ignoring the excel file, how do I get the...

    ok so ignoring the excel file, how do I get the values from a text file and csv file into the text area?

    Im new to php and have very basic knowledge of it.
  17. Ideally I need to get values from a text file and...

    Ideally I need to get values from a text file and excel file and possibly from a csv file
  18. Upload file and see contents on the same page

    I need a single page with a file upload and a text area where the contents of the file are put.

    At the moment I have a html file and a php file:

    upload.html......

    <!DOCTYPE html PUBLIC...
  19. Replies
    4
    Views
    5,019

    Im still confused about what code goes where in...

    Im still confused about what code goes where in this if statement, can you tell me what code to put in the statement please?
  20. Replies
    4
    Views
    5,019

    thanks but where do i put this code?

    thanks but where do i put this code?
  21. Replies
    4
    Views
    5,019

    PHP File Upload on single page?

    Hi,

    Ideally I want to have a file upload form and then the contents of the file uploaded put into a text box on the same page.

    At the moment I have two pages, upload.html and uploader.php
    ...
  22. amazing...thank you so much, works perfectly

    amazing...thank you so much, works perfectly
  23. below is the code for my function now: ...

    below is the code for my function now:

    function add(type) {
    var num=(document.getElementById('NoOfValues').value)-0;
    if(foo.getElementsByTagName('input')[0]){
    alert('theres at least...
  24. ok but I still want to check how many inputs...

    ok but I still want to check how many inputs there are at the beginning of the function. So the first time this is run there will be no inputs. How do I get around this?
  25. This line of code works at the end of the...

    This line of code works at the end of the function (after textboxes have been added) but if I put it at the top of the function where I want to check if textboxes exist it doesnt work.

    I have...
Results 1 to 25 of 28
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles