Click here to Skip to main content
15,923,197 members

Comments by ashwnai kumar pandey (Top 3 by date)

ashwnai kumar pandey 10-Jul-14 6:36am View    
i have given data-url as
<div class="define-chart-row " data-url="http://www.google.com" data-color="#dfdfdf" title="1">13</div>

and then
$('#bar_of_pies .bar').click(function () {

window.location.href = attr(data-url);
});
but not redirecting .
ashwnai kumar pandey 8-Jul-14 4:46am View    
what if i want to redirect on another page in new tab .
like
$('#Div1 .bar').click(function () {
alert($(this).attr('data-original-title')); // Do whatever you want to do. Write your Redirect code here.
window.location.href = "http://stackoverflow.com";
});

like in code above i can redirect user on link
but i want to give diffrent url for each bar
like you are showing data-title ,i want something like data-url
ashwnai kumar pandey 26-Jul-13 3:00am View    
but there are about more than 8 projects how to add and where i have tried to remove system.web.http.dll and add it again but still nit working and throwing same error .
Thanks