I have the following code:
$(\"#scheduleLink\").trigger(\"click\"); alert(\"text\")
This is the click handler:
$(\"#scheduleL
$("#publicationBlockContent").load"/Publication/EventSchedule?eventId=" + eventId + "&type=" + type, function (responseText, textStatus, XMLHttpRequest) { if (textStatus == "success") { alert("success") } if (textStatus == "error") { alert("failed") } }