i wonder how cfselect bind and bindontrue have a r...
# cfml-beginners
g
i wonder how cfselect bind and bindontrue have a replacement in jquery, any suggestions
p
You may get some ideas on how this could be done with htmx from this example: https://htmx.org/examples/value-select/
m
YEAH! HTMX fans in the house! 🙂
p
Since I discovered it, it is just changed the way I look at coding. Frankly it is the most excited I've been about tech since I discovered "Cold Fusion 1.5" and I do mean to have the space there cause I think we dropped it around 2.0.
m
The author is a friend of mine and lives in my same town. Carson is rad. I was a regular user of his previous stack too.
p
That is pretty cool. I don't know Carson personally but I've watched him on the various podcasts and he just comes across as a very down to earth kinda guy.
g
Thanks guys But as this point I need something in js
a
HTMX is using JS. It's a Javascript library that uses HTML attributes to define the bindings. You can do it in jQuery but you'll have to do a bunch of work yourself.
d
Server side rendering is faster. so if you can use cfml why wouldn't you? Can you share more about the problem you are trying to solve with jquery?