i want to make url to add more argument atribute af alll row to be on one onclick not only data

i want to make url to add more argument atribute af alll row to be on one onclick not only data

mxolisimlambomxolisimlambo Posts: 1Questions: 1Answers: 0

{

                    "render": function (data,row,type) {

                        return "<a class='btn btn-success btn-sm' onclick=PopupForm('@Url.Action("Create")/" + row.Id,row.name,row.year+ "')><i class='fa fa-pencil'></i> Edit</a><a class='btn btn-danger btn-sm 'style='margin-left:5px' onclick=Delele(" + data + ")><i class='fa fa-trash'></i> Delete</a>";

                    },
                    "orderable": false,
                    "width":"150px"
                }

function ListCreate(id,name,year) {

    var id = url.split("/");
    var result = id[2];
    debugger


    if (result === "Create" || result === "Create"
      ) {
        //alert("Create Branch");
        $('#hide').show(1000);
        $('#menu').hide(1000);
        $('#importjobfiledata').hide();
        $('#importctodata').hide();


        debugger


    }


}

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    Is this using Editor? I don't understand your requirement, please can you try adding more explanation, please.

    Colin

This discussion has been closed.