I have simple html page and need to post data (title/text) from that page to my (I'm logged in) FB wall
<html>
<head>
<title>Send the post to FB</title>
</head>
<body>
<div>
Title: <input type="text" id="tbTitle" /><br />
Text: <input type="text" id="tbPostText" /><br />
<input type="button" value="Send to FB Wall" />
</div>
</body>
</html>
I read http://developers.facebook.com/docs/reference/api/ but there is not simple code how to do that. Who can help me with solution. Thank you!
I find the solution:
just grab values from text boxes and pass them into script described below:
http://developers.facebook.com/docs/reference/dialogs/feed/
Related
I know that the code below will go to the result page of google when the user types some texts and the submit button is clicked.
<!DOCTYPE html>
<html lang="en">
<head>
<title>
Hello!
</title>
</head>
<body>
<form action="https://www.google.com/search" method="get">
<input name="q" type="text">
<input type="submit" value="Submit Form">
</form>
</body>
</html>
But I try this with https://www.jitta.com/. It does not seem to have the same structure as google.
When searching on this website the url will be https://www.jitta.com/stock/bkk:ptt where "ptt" is the word that I want to search. Unlike google, if I want to search "ptt" the url will be https://www.google.com/search?q=ptt.
Can it be only HTML code? no other parts involved (like Javascript,...)
Appreciate anyone who answers this.
I've been trying to add a live output field to my ironspeed application but I have not been successful, the Ironspeed mobile app reads all the fields but it does not display the live output field. I tried searching in the Ironspeed forums, and I watched a number of their youtube videos, where they show you how to enter HTML in Ironspeed but I have not been successful, here is a snippet:
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>Output element sample</title>
<body>
<article>
<header>
<h1>Output element sample</h1>
<p>Demo showing output element in HTML5</p>
</header>
<form onsubmit="return false" oninput="totalamount.value = Math.round( Qty.value * exchangerate.value)">
I have<input name="Qty" id="Qty" type="number">
<br />
Exchange Rate<input name="exchangerate" id="exchangerate" type="number">
<br />
Total amount <output name="totalamount" id="totalamount" for="principal period interest"></output>
</form>
<footer>
<h1></h1>
<p>HTML Goodies</p>
</footer>
</article>
</body>
</html>
I would really appreciate some assistance in the matter.
I have a form like this located at http://www.sms-online.web.id:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<body>
<form method="post" enctype="multipart-form-data" name="my_form" onsubmit="clearTextBoxCounter()" action="http://www.sms-online.web.id/kirim" >
<input type=hidden name=teks value=><center><b>KIRIM SMS GRATIS</b></center><br><br>
Nomer:<br />
<input type="text" maxlength="20" name="Phonenumbers" value="08888888"/>
<br />
<br />
Isi:<br />
<textarea rows="5" cols="50" onKeyPress=check_length(this.form); onKeyDown=check_length(this.form); name=Text >
Content of my sms
</textarea>
<br />
<input id="saveForm" class="btTxt" type="submit" value="KIRIM" name="TOMBOL" />
</body>
</html>
I would like to post to that form and then submit it, how do I use wget to do the job? I've read about wget --post-data xxx but I still don't know what I should type in in the terminal, based on that html file, should I type in like this? (I'm really not sure it'll work) wget --post-data value=08585858 textarea="Content of my sms" http://www.sms-online.web.id
From this SO question:
wget --post-data="value=08585858&textarea=\"Content of sms\"" <url>
Also check this.
I'm just testing with a simple log-in page. Here are 3 text-forms.
Username, EmailAddress, Password.
When I put the value in there, hit the submit,and auto-complete works for only 2 of them. And the form (EmailAddress) is not filled at all.
I just couldn't figure out why auto-complete is not working at EmailAddress.
<!DOCTYPE html>
<html>
<head>
<title>Log in Page</title>
</head>
<body>
<form action="login.php" method='post'>
<p><strong>Login Page </strong></p>
<p>Username:<input name="username" type="text" ></p>
<p>EmailAddress:<input name="email" type="text" ></p>
<p>Password:<input name="password" type="password""></p>
<p><input type="submit" name="Submit" value="Login"></p>
</form>
</body>
</html>
Try setting the autocomplete value. It should default to on, but I'd try adding it.
It's also possible your browser has already recorded the data for the autocomplete (as it seems by the image at least), which could mean the browser no longer tries to find anything. Try renaming all the fields and the form (just to test it out, of course) and see if your browser inquires you to save the form data upon submission.
<!DOCTYPE html>
<html>
<head>
<title>Log in Page</title>
</head>
<body>
<form action="login.php" method='post'>
<p><strong>Login Page </strong></p>
<p>Username:<input name="username" type="text" ></p>
<p>EmailAddress:<input name="email" type="text" autocomplete="on"></p>
<p>Password:<input name="password" type="password""></p>
<p><input type="submit" name="Submit" value="Login"></p>
</form>
</body>
</html>
Does anyone have a good start for a simple front end html login? I am pretty new with html and coding in general. Also how do I connect the login with my other work such as the database?
<html>
<head>
<title>
Login page
</title>
</head>
<body>
<form name="login">
Username<input type="text" name="userid"/>
Password<input type="password" name="pswrd"/>
<input type="button" onclick="check(this.form)" value="Login"/>
<input type="reset" value="Cancel"/>
</form>
</body>
</html>
that is just a pretty simple login form with no css to it, but I would just go to bootstrap and use their login form at http://getbootstrap.com/examples/signin/