Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
75 views

How to access Translation object t within Shopify theme app extension's liquid snippet ? [handlebar.js]

This is my .liquid file offers.liquid file {% raw %} <script id="cross-sell-popup" type="text/x-handlebars-template" data-no-instant> <div> <div class="...
Aadesh Kulkarni's user avatar
2 votes
1 answer
33 views

My data isn't rendering on my page. The json seems to be pulling in correctly

I was practicing displaying data using handlebars and I am stuck. In my console I can see that it is pulling in the information from my api but my HTML within handlebars isn't rendering on the page. ...
Rachel27's user avatar
0 votes
0 answers
57 views

Why do only the buttons that are not inside the form not work? [duplicate]

I'm building this single page web app for a school project, and it utilizes JQuery to load different handlebar templates. For some reason, all buttons inside forms work and so the create account and ...
João Cardoso's user avatar
0 votes
1 answer
25 views

delete task from table row. Unable to bring in id of list_body to delete it from row

I'm trying to add a function to the delete button in the table. The id associated with the list_body needs to be within the delete function. I used some jquery to get the list to display on the page. ...
Bo Salinas's user avatar
0 votes
1 answer
98 views

How to use jQuery to find content in handle bar template

I want to parse the html within <figure class="kg-card kg-bookmark-card"></figure> in the {{content}} of Ghost post class. <article class="{{post_class}}"> &...
X09's user avatar
  • 3,960
0 votes
1 answer
561 views

Input type="number" error value "{{}}" cannot be parsed, or is out of range with handlebars.js

I have a warning when I set a value into a input type="number" tag with handlebars.js. The html of the template is: <input id="i-f" type="number" class="form-...
Paolo Pellizzari's user avatar
0 votes
1 answer
59 views

Making a search box works

I have a problem creating a search box i my JS code. The search needs to find in the restaurant name and the restaurant description. Actually when I search, the code duplicate the cards in my web ...
Aryus's user avatar
  • 11
-1 votes
1 answer
60 views

Get id of elements where the ids are dynamically generated

I have a set of elements that have been generated dynamically through Handlebars as seen below {{#floor as |room i|}} <div class="btn-group-toggle" data-toggle="...
SadCoder's user avatar
0 votes
1 answer
60 views

Retrieving table content data in ember

I am creating an ember application which gets data from servlet and prints it in a table format.. the table looks like this Capacity Price RoomType RoomNo Action 6 4150 suite 93 ...
hariharan baskaran's user avatar
0 votes
1 answer
57 views

JQuery Data not able to print in html

function loadMobMakes() { $.ajax({ url: "/api/makes", method: "GET", success: function (data, status, xhr) { if (data.length > 0) { ...
Kanik Saini's user avatar
0 votes
1 answer
47 views

Why am I having a problem accessing $el in my view in BackboneJS?

I'm trying to utilize the append method through the el in the BackBoneJS view. I'm using Handlebars. When I run my code, I get this in the console: main.js:14 Uncaught TypeError: Cannot read ...
Joshua Cushing's user avatar
0 votes
0 answers
99 views

I'm getting an error in my nodejs project when including Datatables

I'm stuck in a problem where I cannot get datatables to work with my node.js project. When I try to initalise the table i get an error saying, Uncaught TypeError: $(...).DataTable is not a function ...
Malinka Jayasinghe's user avatar
3 votes
3 answers
138 views

Keycodes / onclick enter, show Multiple innerHTML names

When I move the 4 arrows on the keyboard, the green hover color moves over each button. I want when I press "Enter" to write the number that corresponds to each box. For example now I have &...
user avatar
-1 votes
2 answers
876 views

Loop through table form with Javascript and create objects from the values

Im trying to loop through a table form and create objects from each row. Each row contains 2-3 input fields and the values from those should be the properties of the object. The object should only be ...
Simplyrdy's user avatar
4 votes
1 answer
1k views

How to create a no refresh page using jquery, express and handlebars?

I am learning express JS and my problem is: I want to create two pages using NodeJS, that uses handlebars as template engine, but I want that the first page should be send using res.render('home'), ...
Himanshu Singh Chauhan's user avatar

15 30 50 per page
1
2 3 4 5
53