dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: denhamd2

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,568

    Thanks very much for the reply. I've taken a...

    Thanks very much for the reply.

    I've taken a stab below but am pulling my hair out as its not working. I'm a bit of a newbie so please excuse my stupidity. Would you be able to take a look and...
  2. Replies
    2
    Views
    1,568

    Grouping events using SimpleXML/PHP

    Hi,

    I have events that I'm pulling in from an XML file using SimpleXML.

    Some events have the same name but they have different links. What I would like to do is group events that have the same...
  3. Replies
    5
    Views
    1,185

    An example might clarify what I need to do a bit...

    An example might clarify what I need to do a bit more...

    Here's what I would like to do. I have the HTML:


    <div><img src="" id="prodAimg"><br><span class="prodAname"></span><br><span...
  4. Replies
    5
    Views
    1,185

    Traversing an array using a Key?

    Hi,

    I'm a bit of a newbie with Javascript. I have an array called "Prods". Here are the different values in that array:

    ProductName, HowManyCalories, ProductImage, LinkFromImage, Description,...
  5. Replies
    7
    Views
    938

    Wow thats a huge help thanks :) Sorry just one...

    Wow thats a huge help thanks :) Sorry just one final thing. Sometimes I get the text from the database being spit out as 4,35 houses instead of 4.35 houses. I updated your code below as it was...
  6. Replies
    7
    Views
    938

    Thank you so much that works perfectly :) One...

    Thank you so much that works perfectly :)

    One more question... I'm looking to put the word "houses" back onto the end of the outputted text. The only thing is sometimes the word is "flats" and...
  7. Replies
    7
    Views
    938

    The intended result is to take the value of...

    The intended result is to take the value of housevalue and basically round it off, divide by 36 via the function. does that help?
  8. Replies
    7
    Views
    938

    Help needed writing a function

    What I would like to do is put all my function code in an external JS file, and then just have to code 2 lines into my page which executes the function based on a given value. However I don't know...
  9. Replies
    3
    Views
    530

    hi, Thanks for that. I've gotten so far now...

    hi,

    Thanks for that. I've gotten so far now but am stuck at a certain point. I would like to round up the decimal number. So below you will see the value is 4.251. Using the Math.round function it...
  10. Replies
    3
    Views
    530

    Getting only number value from a string

    Hi,

    I have a string stored in a variable var = "4.25 houses".

    I would like to only extract the currency value, ie "4.25" from this. Is this possible? Also I would like to divide and multiply...
  11. Replies
    1
    Views
    1,325

    JQuery .hover problem

    Hi,

    I'm trying to add a class to a <td> tag (which already has a class "description" on it) within a <tr> using JQuery when the user hovers over the <tr> tag. But my code doesn't seem to work....
  12. Replies
    5
    Views
    1,372

    Thanks for this. However I tried it and when I...

    Thanks for this. However I tried it and when I attempt to document.write the result outputted is 19.999,99 EUR. Please could you help me find if I have something wrong in the code? Your help is a...
  13. Replies
    5
    Views
    1,372

    Thanks, thats a big help :) As sometimes the...

    Thanks, thats a big help :) As sometimes the currency can be different is there any way of instead of replacing the " EUR" bit, to cut the last 4 characters off instead and then adding the cut off...
  14. Replies
    5
    Views
    1,372

    Adding 2 currency values together

    Hello,

    I'm looking to add 2 currency values together, is this possible using Javascript? So basically I have values stored in 2 variables:

    var price1 = "19,99 EUR"
    var price2 = "9,99 EUR"
    ...
  15. Replies
    2
    Views
    680

    that didnt really work. I'm looking to open all...

    that didnt really work. I'm looking to open all available options each in a new window once the submit button is pressed... any ideas?
  16. Replies
    2
    Views
    680

    Selecting all options from a dropdown

    Hi,

    I have a drop down menu which contains several options and when selected gets passed to page2.cgi

    Is there any way in Javascript that once the submit button is pressed all the options can...
  17. Thread: SIFR Problem

    by denhamd2
    Replies
    1
    Views
    1,200

    SIFR Problem

    Hi,

    I'm using SIFR for the headlines on my website, to replace my <h1> text. Please look at http://209.172.34.108/~free/kpformations/test.html

    The three paragraphs are all <h1> tags but...
  18. Is there an way to incorporate the check into my...

    Is there an way to incorporate the check into my existing script, maybe using a nested if statement to check if the variable tb is a number?
  19. Restrcting only numbers to be entered in input box?

    This is part of my script for checking if a user has ticked a box and entered something in an input box. Does anyone know how I'd limit what can be entered in the input box can only be a number?

    ...
  20. Replies
    3
    Views
    1,101

    Form validation help needed

    Hi, as you can see below on my page I have a checkbox and text input box, there are a number of these on the page. The checkbox is always "orderxxx" where xxx is a number while the text input box is...
  21. Replies
    7
    Views
    1,179

    does any know some script that would do this?...

    does any know some script that would do this? help would be much appreciated...
  22. Replies
    1
    Views
    966

    Form variables problem

    Hi, as you can see below on my page I have a checkbox and text input box, there are a number of these on the page. The checkbox is always "orderxxx" where xxx is a number while the text input box is...
  23. Replies
    7
    Views
    1,179

    do you know of any matching rule that could do...

    do you know of any matching rule that could do this?
  24. Replies
    7
    Views
    1,179

    does it have to be done by the form element's ID?...

    does it have to be done by the form element's ID? can it be done by the name? also do I have to do this manually ("Your Checkbox ID here") for all the form inputs?
  25. Replies
    7
    Views
    1,179

    Form validation problem

    Hi, as you can see below on my page I have a checkbox and text input box, there are a number of these on the page. The checkbox is always "orderxxx" where xxx is a number while the text input box is...
Results 1 to 25 of 26
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles