debbieau1
asked on
onclick works in Internet Explorer and firefox but not chrome
I have a simple function and some online code in with boostrap
Here is the function
I just need to ensure it works in Chrome also
Here is the function
function getList() {
alert("this is list");
}
and here is the inline code
<div class="btn-group pull-right">
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button">Get list</button>
<ul class="dropdown-menu" role="menu" style="z-index:4;">
<li class="sas" onclick="getList()">All List</li>
li class="sas" onclick="getHighest()">Highest Price</li>
</ul>
</div>
I just need to ensure it works in Chrome also
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The second <li> has a different function listed for the onclick... getHighest()