www.webdeveloper.com

Search:

Type: Posts; User: allanibanez

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Cheers for the response. I tried that and it...

    Cheers for the response. I tried that and it didn't work. Fortunately, my 2 hours spent fiddling led me to this:


    document.form.elements[variable].value

    Something annoyingly obvious to a...
  2. document.form.variable.value is this possible?

    The variable "name" is being passed into the function from a form. The value of this variable gives the cookie its name, however I also need to use it in the document.settings.variable.value string...
  3. Replies
    6
    Views
    1,627

    Ah that makes sense, many thanks for your input...

    Ah that makes sense, many thanks for your input :)

    [RESOLVED]
  4. Thread: Regexp

    by allanibanez
    Replies
    2
    Views
    1,351

    I'm not expert with regular expressions, but you...

    I'm not expert with regular expressions, but you should be able to work soemthing out from this, plus you can check if it works.

    http://quanetic.com/Regex
  5. Replies
    6
    Views
    1,627

    Thanks for the help and the explanations,...

    Thanks for the help and the explanations, removing the caret symbol makes sense.


    function getCookieRegex(name){
    var cookie = document.cookie.match(new RegExp('(^|;)\\s*' +name+'\\d{6}' +...
  6. Replies
    6
    Views
    1,627

    Hi thanks for that, it helped me out a lot! I...

    Hi thanks for that, it helped me out a lot!

    I have got it working, but only for one of the drop down list options and im a bit baffled as to why the others aren't working! If you click the image,...
  7. Replies
    6
    Views
    1,627

    Regular Expression to identify string

    I have created a piece of javascript that takes the coordinates of a users mouse click on an image and then stores them along with a message inside a cookie. The value of the cookie is the users...
  8. Replies
    1
    Views
    958

    Store Textarea value in cookie

    At the moment I have the following script that allows you to create two seperate cookies (longitude and latitude) and then erase them/read them.

    http://allanibanez.comuf.com/blah24/settings.html
    ...
  9. yeah, dynamic text inside elements. how...

    yeah, dynamic text inside <td> elements. how would I select the specific <td> elements and tell the div to be appended into them?
  10. Place appended to .inerHTML inside of tags

    Just to resurect this slghtly...



    if (!(document.getElementById(hidden))) {
    var node = document.createElement("div");
    node.id = hidden;

    node.style.width = "5%";...
  11. cheers, cookies had completely skipped my train...

    cheers, cookies had completely skipped my train of thought. got it working with cookies now so thanks for the idea :)
  12. Permanently storing the value of a variable from a form

    I'm currently creating a set of web based applications and one of the main aims I have is to make them as useable as possible...funnily enough. One of the applications, a sunrise calculator, requires...
  13. Thanks for the responses guys, I'm completely...

    Thanks for the responses guys, I'm completely sorted now. Cheers for taking the time to explain the code aj_nsc. I've learnt something new today, which is always nice :)
  14. Explanation of code and formatting a text node

    Yesterday I had some great help from aj_nsc to create a text node to display the output of a function. Whilst it works perfectly, I lack a bit of understanding about how it actually works, which...
  15. after a saturday afternoon of persiverance i've...

    after a saturday afternoon of persiverance i've managed to sculpt what you showed me into my main application. thanks :)
  16. I'll show the actual code that I'm working on at...

    I'll show the actual code that I'm working on at the moment.

    var end is the string that i want to display to the user



    var end = (maketime(eventactual));
    var node =...
  17. I have to admit that I'm now struggling to use...

    I have to admit that I'm now struggling to use this in the sunrise calculator i've created. In that document, I can now atleast display the output time of when the sun will indeed rise, but I am...
  18. Thanks for your time on this :) I have to...

    Thanks for your time on this :)

    I have to admit that I'm now struggling to use this in the sunrise calculator i've created as I need to output the value of a variable which changes depending on...
  19. Hi, thanks for getting back to me so quickly! The...

    Hi, thanks for getting back to me so quickly! The code below is is now working with a text node appended to the body, however there is still a small problem. Everytime I put a new number into the...
  20. Return statement of function display problem

    Hi,

    I've created a piece of javascript which calculates the sunrise/sunset time for any day inputted into a form. If I include the document.write() statement inside the function which performs the...
  21. Replies
    1
    Views
    689

    onclick event handler

    At the moment i can quite easily use the DOM to swap one image to another when it is either clicked, rolled over etc. However i want to be able to do this remotely by clicking another image which...
  22. Replies
    3
    Views
    627

    i've been using name= .... i take it i should be...

    i've been using name= .... i take it i should be using id= ?
  23. Replies
    3
    Views
    627

    document.getElementById ?

    <span onMouseDown="document.left.src='red.png'">
    <img src="arrow.png" height="80" width="80" name="left" border="0"></span>

    I can make use of this code to change the state of the image being...
  24. Replies
    3
    Views
    1,875

    leap year function

    I have this code to try and work out which years are leap years.

    <html>
    <head>
    <script language="JavaScript">

    function leap (year) {
    return (((year % 4 == 0) && (year % 100 !=...
  25. thanks for not only doing it, but explaining it...

    thanks for not only doing it, but explaining it for me :)
Results 1 to 25 of 26
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles