Kurt6863778
Posts: 0
Joined: Sun May 11, 2014 2:15 am

using javascript or jquery to delete

how do I use javascript or jquery to delete a single collapsible item by means of presenting a dialog box to user confirming deletion that deletes the item if yes or ok is clicked and remains if cancel or no is clicked ?

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

using javascript or jquery to delete

Hi Kurt,

To hide a component use this code:preApperyio("componentName").hide();/pre
To show:preApperyio("componentName").show();/pre

To delete it forever use:preApperyio("componentName").remove();/pre

Kurt6863778
Posts: 0
Joined: Sun May 11, 2014 2:15 am

using javascript or jquery to delete

hey, thanks Katya, but I saw the post by someone else and got it worked.

Also I do have other queries that are really stressing me...

Number 1 :
now i am creating an app that allows users to store data into a database and I would like when I publish the app for others to use I would like get the database to be released with the app onto the user's phone and not online ( each user wherever they are in the world can access their own database records in their phone . can tis be done if so how? thanks ...

Number 2 :
is there a way I can have the user browse songs on their phone and load them into app to play? is there code for that or any way ?

thanks

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

using javascript or jquery to delete

Hello Kurt,

You should have internet connection to use Appery.io DB REST API. As an alternative, you can store your data locally with SQLite. Please look at this link: http://docs.appery.io/tutorials/build...
You build HTML5 apps and we use PhoneGap to access the device. You can use any API that PhoneGap provides: http://docs.phonegap.com/en/3.3.0/cor...

Return to “Issues”