0
I create dynamically in my View via Razor data that is populated in a table.
On my last td I have the following elements:
<td class="row-actions fixed-col"><a name="excFaturamento"><i class="fa fa-times"/></a></td>
This element has not yet been created at the time of
$(document).ready
In my file . js put as follows:
$('[name="excFaturamento"]').on('click', 'a', function () {
Remembering that my table is mounted via Razor with data that is inside a viewbag, that is the page will never be loaded before the ready Document.
However the same does not catch my click event. Can anyone help me?
Welcome to stackoverflow. It’s interesting to read the tour to understand how the site works. http://answall.com/tour
– Marconi
If it hasn’t been charged yet, then it doesn’t exist.
– Edilson