HTML Live field in Ironspeed - html

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.

Related

Captcha image not showing in my asp.net mvc application

#using CaptchaMvc.HtmlHelpers
<!DOCTYPE html>
<html lang="en">
<head>
#Scripts.Render("~/bundles/jquery", "~/bundles/modernizr")
#Scripts.Render("~/bundles/jqueryval")
#Scripts.Render("~/bundles/bootstrap")
#Styles.Render("~/Content/css")
</head>
<body>
<div>
<div>
#Html.Captcha(4)
<p class="Error"> #ViewBag.ErrMessage </p>
</div>
</div>
</body>
</html>
I am using simple captcha in login page but when application loads first login page captcha image not showing
You need to be registered, and have some specific code that you can get by going to the link below:
Recaptcha Solution here!

How to create html form that directly goes to specific search on a website?

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.

Setup Spring and Spring-Security to use HTML file

In a web application, we don't want to use JSP files, we want to use only HTML files. Each view is a template.
I'm looking for a way to setup spring, spring security to use directly login.html file and if the user authentificates correctly the generic layout (top level, left level, right level and center level and south level) will be displayed.
What you are looking for is a natural templating solution where the templates are built directly in HTML and CSS with just some special atributes in the tags, but without the need for a set of XML tag libraries.
One solution that allows this is the Thymeleaf templating technology - Comparison of a Thymeleaf template with a JSP in a Spring application
this is how a template looks like:
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>Spring MVC view layer: Thymeleaf vs. JSP</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" media="all"
href="../../css/thvsjsp.css" th:href="#{/css/thvsjsp.css}"/>
</head>
<body>
<h2>This is a Thymeleaf template</h2>
<form action="#" th:object="${subscription}" th:action="#{/subscribeth}">
<fieldset>
<div>
<label for="email" th:text="#{subscription.email}">Email: </label>
<input type="text" th:field="*{email}" />
</div>
<div>
<label th:text="#{subscription.type}">Type: </label>
<ul>
<li th:each="type : ${allTypes}">
<input type="radio" th:field="*{subscriptionType}" th:value="${type}" />
<label th:for="${#ids.prev('subscriptionType')}"
th:text="#{'subscriptionType.'+${type}}">First type</label>
</li>
<li th:remove="all"><input type="radio" /> <label>Second Type</label></li>
</ul>
</div>
<div class="submit">
<button type="submit" name="save" th:text="#{subscription.submit}">Subscribe me!</button>
</div>
</fieldset>
</form>
</body>
</html>

Inclusion of HTML into another page on the same site?

I have an HTML webpage with a specialized purpose. However, I also have a HTML page with a generic set of actions used elsewhere in my site/app.
Specific Page
<html>
<head><title>Specific Page</title></head>
<body>
<h1>My Specific Action</h1>
<div id="NameAction">
<!-- Action HTML goes here... -->
</div>
</body>
</html>
Generic Action
<html>
<body>
Please tell me your name...
<input id="NameText" type="text" size="50" />
<input id="NameSubmit" type="submit" />
</body>
</html>
The question is, I would like to inject the Generic Action HTML into the NameAction div in the Specific Page. What are some ways I would go about doing this?
Use an iframe
<html>
<head><title>Specific Page</title></head>
<body>
<h1>My Specific Action</h1>
<div id="NameAction">
<iframe src="Path-to-generic-html" />
</div>
</body>
</html>
You could use an iframe, which is a way to embed one html document into another, however this makes it difficult for the two html fragments to interact on the front end (Javascript, etc.). Depending on what templating engine you're using (jsp, php, asp) you should be able to include html fragment into a page as follows (server side include):
Generic Action Fragment
Please tell me your name...
<input id="NameText" type="text" size="50" />
<input id="NameSubmit" type="submit" />
Specific Page
<html>
<head><title>Specific Page</title></head>
<body>
<h1>My Specific Action</h1>
<div id="NameAction">
<% include generic action fragment here using engine specific code %>
</div>
</body>
</html>

How to send the post to my FB wall

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/