Adding an info JS box to convert price from number to text

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
tminh
Posts: 28
Joined: 2019-05-23 02:26

Adding an info JS box to convert price from number to text

Post by tminh » 2019-05-27 07:44

I want to add a info JS box that trigger everytime enter price number (up to Billion) to text 1.8 Billion...

I knonw hook xxxxx-dv.js but i dont know how to place text on detail page.

thanks
Screenshot_9.png
Screenshot_9.png (7.93 KiB) Viewed 1623 times

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1807
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Adding an info JS box to convert price from number to text

Post by jsetzer » 2019-05-28 05:34

Hi tminh,

this JQuery code may be a good starting point:

https://www.jqueryscript.net/text/jQuer ... words.html

chrome_2019-05-28_07-26-24.png
chrome_2019-05-28_07-26-24.png (16.77 KiB) Viewed 1601 times
Regards,
Jan
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

tminh
Posts: 28
Joined: 2019-05-23 02:26

Re: Adding an info JS box to convert price from number to text

Post by tminh » 2019-05-28 05:50

jsetzer wrote:
2019-05-28 05:34
Hi tminh,

this JQuery code may be a good starting point:

https://www.jqueryscript.net/text/jQuer ... words.html


chrome_2019-05-28_07-26-24.png

Regards,
Jan
thank you, i have that js code, but i don't know how to insert text into hooks ??

thanks

Post Reply