Page 2 of 2

How to forget all the information loaded from the database when you leave the page?

Posted: Mon Nov 03, 2014 4:29 pm
by Rafael Marques

so far everything works correctly.

go back and enter in an image that has the image database.

Image

Image

everything works normally so far.


How to forget all the information loaded from the database when you leave the page?

Posted: Mon Nov 03, 2014 4:31 pm
by Rafael Marques

but if you go into a list item that has no image (no-image.jpg) after entering with one image, this error happens, the list item without image shows the same image of the item that had image.

Image

Image


How to forget all the information loaded from the database when you leave the page?

Posted: Mon Nov 03, 2014 4:31 pm
by Rafael Marques

How to forget all the information loaded from the database when you leave the page?

Posted: Tue Nov 04, 2014 11:28 am
by Rafael Marques

??????


How to forget all the information loaded from the database when you leave the page?

Posted: Tue Nov 04, 2014 1:51 pm
by Evgene Karachevtsev

Rafael,

You should on the event Page Hide for page Empresa execute a javascript code in which you should find elements of the carousel and remove in them links to images, that you put in there as a result of mapping of service portoseguro_read


How to forget all the information loaded from the database when you leave the page?

Posted: Wed Nov 05, 2014 3:11 am
by Rafael Marques

How do I do this ?


How to forget all the information loaded from the database when you leave the page?

Posted: Wed Nov 05, 2014 3:19 am
by Rafael Marques

How? Apperyio ( 'mobileimage_25' ).val("");
not work..

can you help me?


How to forget all the information loaded from the database when you leave the page?

Posted: Wed Nov 05, 2014 5:41 am
by Yurii Orishchuk

Hi Rafael,

Here is code for purpose:

pre

jQuery('[name="mobilecarousel_3"]').find("img").attr("src", "files/resources/image/no-image.jpg");

/pre

Regards.


How to forget all the information loaded from the database when you leave the page?

Posted: Wed Nov 05, 2014 4:57 pm
by Rafael Marques

Thanks