1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    3
    Vote Rating
    0
    masella86 is on a distinguished road

      0  

    Default Unanswered: Change Image when a button is clicked

    Unanswered: Change Image when a button is clicked


    I have an image and a button within a panel.

    When the button is clicked I would like my image to be replaced with another image at random based on an array of stored images.

    Im stuck on implementing a change image function within the button.

    Assistance would be appreciated.

  2. #2
    Ext JS Premium Member twaindev's Avatar
    Join Date
    Sep 2009
    Posts
    223
    Answers
    15
    Vote Rating
    3
    twaindev is on a distinguished road

      0  

    Default


    Using Ext.Img you can change the source of the image inside the click handler of the button.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar