By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,899 Members | 1,190 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,899 IT Pros & Developers. It's quick & easy.

Auto fill any website form

P: 11
Hi Friends

I want to fill sign up form of facebook https://www.facebook.com/ from asp.net code i don't how to do so.

I have data in .xml file and i have code that pickup 1 by 1 value from .xml but now sure how to fill form of facebook.com in new tab.

When i click on fill form button it would open in new tab with data filled.

can anyone assist me how to do so using asp.net code.

Thanks in advance
Dec 17 '12 #1
Share this Question
Share on Google+
3 Replies


Rabbit
Expert Mod 10K+
P: 12,359
This is not a code writing service but if you post the code you've tried along with any errors you get, we can help guide you to a solution.
Dec 17 '12 #2

P: 11
Hi ,

Thanks for your reply. Actually i have tried using iframe i have open the page in iframe and try to set the element value but cross domain javascript is not supported.

I just need logic how to do so i will generate the code.

For example if you say that open page in iframe then find control and set the value.

like that only logic no code. I don't know how to do so.

Thanks in advance
Dec 18 '12 #3

Rabbit
Expert Mod 10K+
P: 12,359
Like you said, cross domain javascript is not allowed. But why are you using javascript? You said you're using .net. Use that to access the website through a HTTP web request or similar class.
Dec 18 '12 #4

Post your reply

Sign in to post your reply or Sign up for a free account.