Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an item by javascript #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alanisrael7
Copy link

addItem as public method. It lets add one item by javascript

It's necessary a method to add an item by javascript without remove any item as the method setList does
@kohaistyle
Copy link

Hello ! Just tried the dynamic function to add items programmatically but :

$('.repeater').addItem({price: '', moq: ''})
VM7139:1 Uncaught TypeError: $(...).addItem is not a function at :1:16

Even though i grabbed the latest jq.repeater.js ... Any ideas ?Thanx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants