Accessing Data Present In Http From Https Frame

Jul 23, 2005

I have a frame in which there are 2 IFrames., both being loaded from
the same domain. One IFrame is loaded from http://test1.xyz.com and the
other IFrame is loaded from https://test1.xyz.com/test

I am getting an error while accessing data in the HTTP IFRAME from the
HTTPS IFRAME.

Is it possible at all to access the data in the other IFrame, when the
protocol is different?

View 1 Replies


ADVERTISEMENT

HTTP And HTTPS

Jul 23, 2005

What is the difference between HTTP and HTTPS??

View 2 Replies View Related

Https To Http Canonical ?

Jul 30, 2009

If users click say a home page link on one of my https user login pages they are brought to a https version of my home page. Can I prevent certain pages from being accessed by https. I was looking at [url] but don't know how to implement it in this case.

Is there javascript that detects https and diverts to a http page on refresh or something. ( a bit like the javascript detection script HTTP-EQUIV="refresh" content="0;URL=page.php?page=javascript">)

I have too many links on https pages to create a long url for them all.

View 1 Replies View Related

Https/http Windows - Same Domain

Jul 15, 2011

- We have a page in http

- a popup is opened in http and the form is submitted to https

- the https windows tries to do various stuff to opener....:

Error: Permission denied for https get property Window.document

Any solution for this? Same domain... makes no sense to me such security...

In our application there is also a similar known error, but we can live with that: when a page is accessed with ssl/https jquery thickbox ajax is not working.

View 3 Replies View Related

Reload Parent (https/http)

Jun 12, 2005

I have a nonsecure page that calls a secure popup window to edit credit card info.
This is my popup code.

function popcc(url)
{
newwindow=window.open(url,'name','height=210,width=430');
if (window.focus) {newwindow.focus()}}

This is what I use to close the popup:

<input name="Close" type="button" id="Close" value="Close" onclick="opener.location.reload(); parent.close()">

The weird thing, is that this works when both pages are normal http. When the popup is is https it doesn't work any more. Ideas?

View 7 Replies View Related

Passing Variables From Http To Https

Jan 13, 2010

I have an http page in html that passes variables to an https page using JS. I get an error message permission is denied.

Is there a way I can pass the variable while avoiding the error? I am looking for a solution in JS not php or asp or any other language.

View 5 Replies View Related

Change Http To Https For Links ?

Aug 27, 2010

How can I change the links for a given domain from http to https? For example: [url] would become [url]

View 2 Replies View Related

HTTPS Web Service Request From HTTP Page?

Feb 2, 2010

I am writing JavaScript code that runs inside HTTP page, I need to make XMLHttpRequest to a REST web service. The service is running on the same site but it only accepts HTTPS. I tried to prefix the URL with https:// and Firefox rejected it as cross-site scripting attempt. It's not really cross site as I am calling the same site.

I don't have an option to redirect the entire page to https.

Is there a proper way to implement this request?

View 5 Replies View Related

Window.opener.location Not Working From Https To Http?

Jun 9, 2009

I have a real problem with an e-commerce site which has worked for years without a hitch but with the uptake of IE8 (it seems) this problem is getting more and more frequent Problem: customer continues through checkout on main site (http:[url]....).

When they have to enter their credit card details, they click on a link to open a window (https:[url]....). The details are verified and if valid, the customer is returned to the confirmation page in the parent screen (http:[url]....) and the payment window is closed . Pop-up blockers are causing problems here but even when pop-up blockers are disabled, the confirmation page loads in a new window.I'm using :

<script language="JavaScript">
<!--
window.opener.location="<?php echo ($main_url);?>thanks.php>";[code].....

But the page always loads in a new window and not the parent window.Is there any way to load the confirmation page in the parent window?

View 1 Replies View Related

Window.opener.location Not Working From Https To Http

Jun 8, 2009

I have a real problem with an e-commerce site which has worked for years without a hitch but with the uptake of IE8 (it seems) this problem is getting more and more frequent. Problem: customer continues through checkout on main site [URL] When they have to enter their credit card details, they click on a link to open a window ([URL]). The details are verified and if valid, the customer is returned to the confirmation page in the parent screen ([URL]) and the payment window is closed. Pop-up blockers are causing problems here but even when pop-up blockers are disabled, the confirmation page loads in a new window.

[Code]...

View 1 Replies View Related

Cross-Frame Scripting, IFRAME And Https (access Denied)

Jul 23, 2005

I'm trying to dynamically set the height of my Iframe. my https: main page
is calling another https in an Iframe. But i get an access denied error
from my javascript trying to call the parent document.

Main https page
<IFRAME APPLICATION="yes" style="width:100%;" id="iframename"
frameborder="no" scrolling="no" SRC="https://www.otherdomain.com">

otherdomain.com html
------------------------------------------------
<script>
function bodyheight() {
x = document.body.scrollHeight
parent.document.all.iframename.style.height = x
}
</script>

View 1 Replies View Related

Mixing Secured (HTTPS) And Non-secured (HTTP) Content In The Samepage

Apr 10, 2006

Is it possible to have secured (SSL/HTTPS) and non-secured (HTTP)
content in the same page without breaking the security? I am developing
a secured reservation system in which the user can access Google Maps
(not secured). The map is embedded in the page and does not open in a
separate window.

What solution do you recommend? Use iframes? If so, how?

View 2 Replies View Related

PASSING Data From One Frame To Another Frame In A Frameset

Aug 30, 2010

i need to pass the data in the textfields from the left frame to the textfields in the right frame of my frameset. (ex: dslnum of frame1 will be pass to txtDSLTN of frame2)[URL]

View 19 Replies View Related

Accessing Div Id From Another Frame?

Jul 12, 2009

I'm trying to develop a google maps a site with two frames.In frame one i have a line of code as follows:var myPano = newGStreetviewPanorama(document.getElementById("pano"));The problem is that "pano" is the id of a div in frame 2, so I'm wondering how to access it.

View 10 Replies View Related

Accessing The Parent Frame?

Nov 11, 2010

I'm using an iframe and I have this code in the src file for that iframe.

HTML Code:
if (parent.location == "http://domain.com/store.html"){
document.write("********************************");
}

[Code]....

I've tried self.parent.location, I've tried parent.window.location, I've tried parent.location.href, none of it works.

View 3 Replies View Related

JQuery :: Accessing JSON Data - Retrieve Data From An API

Oct 26, 2011

I have just started to learn about JQuery and wanted to learn how to retrieve data from an API.

I used the Flickr example provided here [url] and just changed the relevant code to point to the 500px api.

<body>

If I launch the following URL I do get the results properly [url]

Here's a sample of what the result looks like:-

I don't get any results when I run my code page. What am I doing wrong?

View 15 Replies View Related

Ajax :: Sending Data With XML HTTP

May 12, 2009

I am doing xmlhttp ajax stuff. I am using a script called "SEXYALERTBOX". I am using it to allow the user to input a password. The textbox is called BoxPromptInput. I do not think its inside a <form> tag.

Here is the code:
function askForPass() {
Sexy.prompt('Please type the password in order to see the pictures/videos','' ,{ onComplete:
function(returnvalue) {
if(returnvalue) {

var xmlhttp = false;
var pageResponse = null;
try{xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");}
catch (error){try {xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");} catch (error) {xmlhttp = false;}} .....

Any way to pass the value since I am sure the request.form would not work in this case since its not in a form.

View 1 Replies View Related

Add A Data As An Http Header Field?

May 12, 2010

I am using jquery's ajax method to POST data to a server. I am using the servers API, and it is stated that in whatever request, I have to include this "authentication token" to access the data I need, either as an http header field or a header parameter.

I prefer to add it as an http header, but I don't know how to add it.

Here's a part of my code. I wish to add a field for a token.

View 1 Replies View Related

Javascript To Capture HTTP Data For Parsing

Feb 18, 2007

I am trying to write a script which will allow me to read the contents of an
HTTP web page into memory, parse the data, and output a calculated value.

The HTTP page is on a web enable appliance - I am reading some data out of a
table for further calculation. I can't modify the web appliance, only read
the text data.

I've written a script on my Windoze PC that successful uses a MSXML2 ActiveX
object to read the contents of a web page into memory using the
xmlhttp.responseText object. The problem is that the ActiveX object is not
available on a lightweight Linux based http server.

I need to write a script that will work with ASP/Javascript on a lightweight
Linux based http server.

View 4 Replies View Related

JQuery :: Using Ajax With Get Method And Data In The Http Body

Jun 29, 2011

As the title implies, i need to make use ajax with GET method and with data in the http request body. I can do it with POST method but i don't know how to do it with GET. In php, it's easy...

View 14 Replies View Related

Accessing Form Data From Javascript

Jul 23, 2005

I've been using some code to verify form data quite happily, but i've
recently changed the way my form is structured, and I can't get it to work
now.

Originally :

The form is called "form1", and I have selects called "PORTA", "PORTB" ...
etc...

I then had javascript that accessed these selects as below, and it worked
fine.

ind = document.form1.PORTD.selectedIndex;
val = document.form1.PORTD.options[ind].value;
dev = document.form1.PORTD.options[ind].text;


My form is now autogenerated, and form data is stored to file, so I now use
an associative array for thte form elements (so that I can loop through them
easily), The form elements names are now :

McuCfg[PORTA], McuCfg{PORTB} and so on

Now, I modified the javascript so that it now uses the McuCfg[] associative
array :

ind = document.form1.McuCfg[PORTD].selectedIndex;
val = document.form1.McuCfg[PORTD].options[ind].value;
dev = document.form1.McuCfg[PORTD].options[ind].text;

When the script runs, I get the error

"document.form1.McuCfg.PORTD is null or not an object"

I have used the same notation that i know works for the "options" array
although that's not an associative array.

View 6 Replies View Related

JQuery :: Accessing $.data() Of Another Window?

Jun 7, 2010

it seems to be a problem if I need to access data() of the elements from another window, like for example $(anyElement,window.opener.document).data() which returns null when in fact there is some data actually stored. I heard that data is stored in the $.cache, which is window-related, so that's understandable, but how can I work around that?

Certain plugins that use $.data no longer work correctly because of that. E.g., I can't use linkselectmethods on linkselects located in the window.opener.document. Again, is there any workaround?

View 1 Replies View Related

Resolved Accessing Local Data Using JS?

Jul 19, 2011

I am working on a project using HTML and javascript to allow the user to choose a vehicle from a drop down menu, then load a new page showing some information about this vehicle. The information is stored in an Excel file. I posted regarding this issue a while back and got an excellent response from Old Pedant about using ActiveX - which has thus far worked perfectly. My initial condition was that I would only be using IE7+. However, my next idea was to be able to use it on an IPad (which I unfortunately do not own yet, making any kind of testing difficult) which I am fairly certain ActiveX won't work on. So, I was looking for any other method which would be similar.

Important note: this will not use the internet at all, all of these files will be available locally. There is a lot of material on running queries to servers, but I didn't think that would really apply here. It seems pretty clear that JS has difficulty accessing files client side (which I understand why completely), but I was hoping to find something that worked for the gray zone I'm currently working in since I'm not using servers at all.

I know that this is not really the intended use of HTML/JS, but I was hoping that by writing it as an HTML file, it'd be accessible to anyone with a browser. Some of my target computers have odd limitations (such as not being to download .exe files).The code I based my original off of is shown below:

<script type="text/javascript">
var conn = new ActiveXObject("ADODB.Connection")
conn.Open ( 'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:fullpath oMyExcel.xls;Extended Properties="Excel 8.0;HDR=Yes;IMEX=1";)';
var sql = "SELECT * FROM [nameOfSheet$]";
var rs = conn.execute( sql )

[Code]...

View 1 Replies View Related

Accessing And Processing Form Data?

Oct 8, 2010

I feel like I've been server-side programming so long that I completely forget how client-side works. I have a super simple form:

Code:

<form action="page2.html" method="post/get">
First name: <input type="text" name="firstname" /><br />
Last name: <input type="text" name="lastname" />
<input type="submit" value="Submit" />
</form>

Is there a way to use Javascript on "page2.html" to access the contents of firstname and lastname and display them?

View 1 Replies View Related

Accessing Server Data From Within Page

Feb 3, 2011

what I am trying to accomplish is done through javascript, but I think that it is.

I would like to access server-side data without refreshing the entire page. Is this done through layers somehow?

View 2 Replies View Related

JQuery :: Frameready - Get The Data In The Target Frame?

Jul 25, 2009

I want to use to pass data to an iframe. The example on the site is as below.

$.frameReady(function(){ $("<div>I am a div element. "+frData.myVariable+" </div>").prependTo("body");}
, "top.mainFrame"

[code]....

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved