Lim Samantha
Posts: 0
Joined: Wed Jun 11, 2014 6:50 am

Blank input

Hi,How do I make my input blank after adding in items? Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Blank input

Hi Lim,

Use this code please:preApperyio("inputName").val("");/pre

Lim Samantha
Posts: 0
Joined: Wed Jun 11, 2014 6:50 am

Blank input

Where do i put this code at?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Blank input

Hi Lim,

On any event where you need to clear Input field, for example, on button click.

Lim Samantha
Posts: 0
Joined: Wed Jun 11, 2014 6:50 am

Blank input

I would like to clear my input, so what event should i click on?

Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Blank input

Hi Lim,

As I said before... When do you want to clear it? If you want to clear it after you click some button, you can use this button Click event... How would you like it to work?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Blank input

Hi Lim,

As I said before... When do you want to clear it? If you want to clear it after you click some button, you can use this button Click event... How would you like it to work?

Lim Samantha
Posts: 0
Joined: Wed Jun 11, 2014 6:50 am

Blank input

Yes I would like to clear it after i Click the "add" button.
i have added the codes to the add button, but still doesn't clear away after i added

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Blank input

Lim,

Could you please post a screenshot of the added code in a Click event handler? Do you save entered code?

Lim Samantha
Posts: 0
Joined: Wed Jun 11, 2014 6:50 am

Blank input

yes i saved it.
here it is:
Image

Return to “Issues”