dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: MortenManden

Search: Search took 0.00 seconds.

  1. Replies
    20
    Views
    10,098

    Tested this in IE, Chrome, Safari, Firefox...

    Tested this in IE, Chrome, Safari, Firefox (latest versions 2012-11-27):
    & #13; (Without space between & and #)

    Works in all of them...
  2. Have found this solution - not elegant, but it...

    Have found this solution - not elegant, but it works:



    <script>
    var xhr = $.ajax({
    type: "GET",
    url: "/files/billeder/ecom/beskrivelser/<product.id>.html",
    success:...
  3. Yes, the above solution works... However, it has...

    Yes, the above solution works...
    However, it has a couple of drawbacks.

    First: It retrieves the entire file - I only need the header info.
    Second: I only need header info, so all iframes will be...
  4. Have simplified my code from above a bit: ...

    Have simplified my code from above a bit:

    <iframe src="myfile.html" id="product" style="width:100%; margin-top:-20px;">&nbsp;</iframe>
    document.getElementById('product').onload = function(){...
  5. Then need to feed your form with the id Then you...

    Then need to feed your form with the id
    Then you need to call the function with the id
  6. You give your div an id Then need to feed your...

    You give your div an id
    Then need to feed your form with the id

    <head>
    <script>
    function myFunction(mydiv)
    {
    alert(document.getElementById(mydiv).innerHTML);
    }
    </script>
  7. Reading html header info of files via JS

    I have a product list that is generated by asp
    I have product description for each product in a html file

    each html file is named: <product.id>.html
    html file size is only 1-3 kb

    Within the...
Results 1 to 7 of 7
HTML5 Development Center



Recent Articles