Search Results

Search found 4 results on 1 pages for 'digitup'.

Page 1/1 | 1 

  • How can I set a traget to top for a link within an iframe?

    - by digitup
    in my code for index.html I use jQuery and have a link with id #button3. I have used in index.html $('#button3 a').attr({ target: '_top' }); When I call the index.html from an iframe as a src, the page opens in _self. I have tried with _blank and still when clicking on the a link it doesn't open on a new page. Any tips?

    Read the article

  • Is there away to load a page only once with AJAX?

    - by digitup
    I have an AJAX call to load a function once the page is loaded, the function opens a lightbox a like frame with some data. The issue is that if I click on close (lightbox frame), the page loads again and again loading the frame so the use never reaches the page under the layer of frame since the frame load on infinite loop. The Ajax is repeating calling the function I guess but I would like to load the frame once and when the user clicks X (close) he may return to the original page. $(document).ready(function(){ var city = $('#citycode').html(); $.ajax({ //when page is loaded, fire the following function success: function(){ //the function to be fired located in the page in seperate file openX(city + //some other parameters); }}); }); Any tips?

    Read the article

1