Jump to content

Monoux

Members
  • Content Count

    11
  • Joined

  • Last visited

  • Days Won

    1

Monoux last won the day on December 28 2015

Monoux had the most liked content!

About Monoux

  • Rank
    Member

Recent Profile Visitors

391 profile views
  1. Hi Chad, Thanks this has worked as required. I've now discovered another small problem. When I select a value from the dropdown the results page is filtered on this selection, however the dropdown reverts to the default value. I think this might be confusing to the users. Do you have any idea how I can get the dropdown not to return back to the default value? Just so you know this action is the same when I reveal the submit buttion and remove the onchange element. Many thanks Monoux
  2. I have a search form and a results page in the same webpage. The search form only has one field, which is a dynamic dropdown list. When I select a value from the dropdown list and click search the search is performed correctly and the results page changes accordingly. What I'd like to do is get rid of the search button, add a dropdown arrow on the righthand side of the search dropdown field and when I make a selection the seach to be carried out automatically. Any ideas how I might achive this would be greatly appriciated. Cheers Monoux
  3. Hi Aurora, I thought it mightbe useful if I posted the exact error message I'm getting back from Caspio. Blocked a frame with origin "https://192.168.0.50" from accessing a frame with origin "https://c1eru548.caspio.com". Protocols, domains, and ports must match. I guess the protocols and ports match, but I was wondering if there was a work around for the domain issue withut compromising on security. Kind regards Monoux
  4. Hi Aurora, I've run into a bit of a problem with the deployment. The Datapage refreshes perfectly, but now I can't access the DOM in the iFrame. I'm trying to capture some updated text that's in the iFrame and I can't get access to it. I thought it was because my domain wasn't https, but it still doesn't work even though I've changed this. I've read on the web that accessing the content in iFrames desn't work when the iFrame isn't server from the same domain, which is the case we have here. Have you come across a work around for this, by any chance? Kind regards Monoux
  5. Hi Emma, Thanks for the idea. I added a Header and Footer to the Datapage and added the code you provided in the Header. Unfortunately it is refreshing both Datapages that live in the HTML page, which I don't want to happen. I need only the second Datapage to refresh leaving the first one unchanged. Users are clicking in the first Datapage record and they will loose their location if the Datepage refreshes. Kind regards Monoux
  6. Hi, This has been solved here http://forums.caspio.com/index.php/topic/5393-datapage-div-auto-refresh-issue-with-authorisation/ Cheers Monoux
  7. Hi Aurora, That's worked perfectly, thanks so much. Kind regads Monoux
  8. Hi Aurora, Many thanks for your response. I'll give it a try now and post back. Kind regards Monoux
  9. Hi, I have an html page with 2 datapages in it. Both are in their own divs. I'm trying to get the second div called 'callback' to refresh every 6 seconds. I've got this javascript to do it function autoRefresh_div() { $("#callback").load("https://c1eru548.caspio.com/dp.asp?AppKey=f6344000919808bbf8fb4bb59cec&xip_Email=[@authfield:Email]&xip_Current_Password=[@authfield:Current_Password]"); } setInterval('autoRefresh_div()', 6000) The URL in the js is the deployment URL from Caspio for the datapage I want refreshing. Users login into the app and the first page they get is this html page. Both divs load fine at this stage. After 6 seconds the second div refreshes fine, but the system is putting up the User Name and Password fields again so they have to login again. As you can see I've tried to add these parameters to the URL so it autologs in. However, if I paste the URL it to the same brower window where the two Datapages are it works fine. So it works if I open it in a full pages after the initial login, but it won't work if it's refreshing a div in the same page. Any help much appriciate.
  10. Hi, I have an html page with 2 datapages in it. Both are in their own divs. I'm trying to get the second div, called 'callback', to refresh every 6 seconds. I don't want to refresh the first div. I've got this javascript to do it function autoRefresh_div() { $("#callback").load("https://c1eru548.caspio.com/dp.asp?AppKey=f6344000919808bbf8fb4bb59cec&Email=[@authfield:Email]&Current_Password=[@authfield:Current_Password]"); } setInterval('autoRefresh_div()', 6000); The URL in the function autoRefresh_div is the deployment URL from Caspio for the datapage I want refreshing. Users login into the app and the first page they get is this html page. After 6 seconds the second div refreshes fine, but the system is putting up the standard User Name and Password fields again in the second div, so the user has to login again. The first div isn't doing anything which is the desired action. As you can see I've tried to add these parameters to the URL so it autologs in. Unforutnately it isn't working. If anyone has any ideas that woud be great. Thanks
×
×
  • Create New...