Skip to content

Instantly share code, notes, and snippets.

View eyupfidan's full-sized avatar

Eyüp Fidan eyupfidan

View GitHub Profile
function showAlert(icon, title, text, url) {{
icon: icon,
title: title,
text: text,
showDenyButton: false,
showCancelButton: true,
confirmButtonColor: "green",
confirmButtonText: "Onaylıyorum",
cancelButtonText: "Vazgeç",
eyupfidan / livesearch.js
Last active May 4, 2023 12:53
Live Search Jquery
// Refactored keyup event handler for the target link input
$(".target_link").on("keyup", function () {
const query = $(this).val();
if (query === "") {
$("#livesearch").html("No result found");
url: "../../action/project_article/live_search",
type: "GET",