Hi, All
Who knows what https://htmx.org/ technology is?
As i could understand it's something like ABMaterial...
Who knows what https://htmx.org/ technology is?
As i could understand it's something like ABMaterial...
Last edited:
Hi, All
Who knows what https://htmx.org/ technology is?
As i could understand it's something like ABMaterial...
If you like this JS library, you can use it to build your own B4X lib. The community love new libraries. ?I created this topic just for ... maybe is there any idea how to include this technology "under hood" of some our B4X lib\framework, to use without HTML coding, as usual.
something that i plan to doI created this topic just for ... maybe is there any idea how to include this technology "under hood" of some our B4X lib\framework, to use without HTML coding, as usual.
There you are
A simple example i made just in 5 minutes, how to append a row to a table, the important part is that the page is not reloaded. In this simple example it is not important but when you have many things on your webapp you don't want to refresh for every action the user triggers.
i have successfully helped many b4xers getting used to coding webapps with htmx.If someone though is not enough to understand this library I would consider it not accessible to them..
I played a while with this sample.There you are
A simple example i made just in 5 minutes, how to append a row to a table, the important part is that the page is not reloaded. In this simple example it is not important but when you have many things on your webapp you don't want to refresh for every action the user triggers.
<form hx-post="/" hx-target="#content" hx-swap="beforeend">
<input name="column1" id="column1" type="text">
<input name="column2" id="column2" type="text">
<input name="column3" id="column3" type="text">
<input type="submit" value="send">
</form>
<h2>Appending rows to a Table</h2>
<table id="table">
<tbody id="content">
<tr>
<td>100</td>
<td>200</td>
<td>300</td>
</tr>
<tr>
<td>400</td>
<td>500</td>
<td>600</td>
</tr>
<tr>
<td>700</td>
<td>800</td>
<td>900</td>
</tr>
</tbody>
</table>