Page 1 of 1

Open dialog or navigate to another page from html element?

Posted: Fri Feb 06, 2015 7:49 am
by Norman Enmanuel

Hi, I want to open a dialog from a span with id="last_video" within an html control, so when i try something like this:

$('#last_video').off().on('click', function(){
console.log('Yep!');
// or
$(this).css({"display": "none"});
});

Doesn't work,

My intention is do click on a piece of text in bold and then when I do click on it another page or dialog is open
Image


Open dialog or navigate to another page from html element?

Posted: Fri Feb 06, 2015 8:07 am
by Norman Enmanuel

I solved using html events onclick="myfunction()".


Open dialog or navigate to another page from html element?

Posted: Fri Feb 06, 2015 8:16 am
by Evgene Karachevtsev

Hello Norman,

Thank you for the update, glad it works!


Open dialog or navigate to another page from html element?

Posted: Fri Feb 06, 2015 9:01 am
by Norman Enmanuel

You're welcome thanks.