www.webdeveloper.com

Search:

Type: Posts; User: vegasjosh

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,173

    SOLVED!!!! Yay I was way off ...

    SOLVED!!!! Yay I was way off

    $(document).ready(function() {

    function cartRefresh(){
    var params = {
    action: "getCartInfo"
    };
    $.ajax({
    type: 'POST',
  2. Replies
    3
    Views
    2,173

    function...

    <script type="text/javascript">
    function cartRefresh(){
    var t = document.getElementById('cartInfo');
    var r = t.innerHTML;
    var items = "<?php echo $cart->count_contents() ?>...
  3. Replies
    3
    Views
    2,173

    function...

    <script type="text/javascript">
    function cartRefresh(){
    var t = document.getElementById('cartInfo');
    var r = parseInt(t.innerHTML);
    t.innerHTML = r;
    }
    x = setInterval(function...
  4. Replies
    3
    Views
    2,173

    Auto refresh a span tag with id

    This is the tag I have been trying to auto-refresh //osCommerce tag FYI
    <span id="cartInfo"></span>

    with this script imbedded within the page that call the header file which ownes that tag...
Results 1 to 4 of 4
HTML5 Development Center



Recent Articles