facebook

simple dynamic image update : CLOSED

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #349628 Reply

    joaba
    Member

    hi there

    i just want to do a simple image update from a URL.
    I think this is possible, I saw some examples, but somehow something is not working well.

    I want to do something like this:

    $(‘#m1-myapp-image’).attr(‘src’ , imageURL);

    where imageURL is well-formed complete URL pointing to an image.
    What is wrong?

    many thanks in advance for your help

    #349632 Reply

    joaba
    Member

    found myself and was pretty easy actually.

    $(‘#m1-myapp-image’).css(‘-webkit-border-image’, ‘url(‘ + imageURL + ‘) 1 1 1 1 stretch stretch’ );

    thanks anyway

    #349642 Reply

    Hi joaba,

    Thanks for following up and closing the loop. Feel free to ping us if you have additional questions.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: simple dynamic image update : CLOSED

You must be logged in to post in the forum log in