|
iam using iframe .in that iframe i kept an html page .now on clicking a button i want the complete source code of that html page form to
|
|
|
|
|
|
sir i want to read the source code of that html file through program or a when a button was clicked i want the source code of that html page in the i frame only
|
|
|
|
|
Using Javascript ? Then you need to get the content document of IFrame and look in InnerHTML property. If you need this in server side, put a hidden server side textbox, assign the InnerHTML to this textbox using Javascript before page gets posted. Access the value from this textbox on server
|
|
|
|
|
sir if dont mind give the code how to write
|
|
|
|
|
Assume your IFrame is named "MyIframe". So InnerHTML can be taken like
var IframeDoc = document.getElementById('MyIframe').contentWindow.document
alert(IframeDoc.body.innerHTML); I hope you know how to put this to a textbox and get this in server.
|
|
|
|
|
sir i used like this only with innerhtml .but iam getting only the source code from to.but iam not getting the java script which i used in the html page.
|
|
|
|
|
I want to get html source code of an URL. the user gives url in text box and upon clicking the submit button i need to get he html source code of that webpage(URL). I want this to be done using innerHTML
Regards
Manish T
|
|
|
|
|
Hi to all,
I am developing a application in which i am inviting other people
to my website.I my application i want to track the user like a
student got a invitation from 3 different friends and use one of
the link and register the to my site then i want to find out that
which(among three) invitation link he use accept to join my site.
(ALEX,MATHEW,RICKY send invitation to Brain to join my site and Brain
use ALEX link and register my website then how can i find which invitaion
among three brain has used to join my site?
Please give me little bit idea how can i do this?
Thanks.
Rahul
-- modified at 2:04 Wednesday 31st October, 2007
-- modified at 2:31 Wednesday 31st October, 2007
People Laugh on me Because i am
Different but i Laugh on them
Because they all are same.
|
|
|
|
|
If the three send the invitation via email that contains a link, you can just add a get parameter onto that link that will identify who referred Brian.
Alex, Mathew and Ricky are already members at your site, so they will probably have a unique identifier like an Id. So if the invitation is sent via mail you build your link ie.
http://mysite.com/?refer=123
and then on your site you'll just check for refer to see who referred Brian.
Hope that helps
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
Thanks NeroToxic for your help.
I got it.
Regards.
Rahul
People Laugh on me Because i am
Different but i Laugh on them
Because they all are same.
|
|
|
|
|
|
Vanamaindia wrote: How can i place a file From One system to Another System using
FileSystemObject in javascript?????????
|
|
|
|
|
|
yaaa using javascript or Dotnet
|
|
|
|
|
use Sysetm.IO
and try to use File.Copy()
|
|
|
|
|
Abhijit Jana wrote: use Sysetm.IO
and try to use File.Copy()
Yes this can copy files from the same server, but I don't think that it can do a cross system copy as the poster requested.
|
|
|
|
|
yes, you are right, so what would be the right way? may be as file upload.
or can it be done if we give file.copy(source,destination)
and source ip\filename
what do u think ???
|
|
|
|
|
Abhijit Jana wrote: or can it be done if we give file.copy(source,destination)
and source ip\filename
No it can't be. ASP.NET won't be having write permissions on the remote machine. If the site is hosted on a webfarm, there are methods to do so. But not sure
|
|
|
|
|
thanks, then how it would be done ???
|
|
|
|
|
Abhijit Jana wrote: then how it would be done ??
The question doesn't make any sense. Why he need to copy on file from one machine to other ? It's not applicable for ASP.NET, it's a server side script which have permissions on the specified server space or other allowed areas.
I guess he can keep a webservice on the second machine which takes a byte array as parameter. When a file needs to be copied from this machine to there, make a byte array for the file and send it to webservice, webservice will recreate the file on other machine, and copying is done.
|
|
|
|
|
Instant messaging using web application with c#.net.in gmail we can chat without postbacking .i want the source code for that type of instant chatting to other users.
|
|
|
|
|
|
SreejithAchutan wrote: without postbacking
Do you know what is postbacking ?
SreejithAchutan wrote: i want the source code for that type of instant chatting to other users.
Why you are not changing, asking the same thing. Who will get time to write source code for you ?
|
|
|
|
|
I know post backing.i want the source code for instant messaging online.
|
|
|
|