50% Off/-

50% Off/-

Php

50% Off/-

50% Off/-

Web

50% Off/-

50% Off/-

Latest Added Tutorials

We can access Vue component from Jquery as follows: app.__vue__.$refs.summary.loadProjectSummary($('#code').val()); Vue Component is included as follows: <project-summary-component ref="summary" project-summary-url="{{route('api.project.summary')}}"> </project-summary-component> As you notice, we have used ref attribute to access the component loadProjectSummary() method. LoadProjectSummary method: loadProjectSummary(code) { const data = { name: 'Client Token', scop...Continue Reading
Programmatically adding bootstrap-datatimepicker can be easily made as follows: $("body").on('focus', '.vue-date', function() { $(this).datetimepicker({ format: 'DD/MM/YYYY', useCurrent: false, locale: 'tr', }) });...Continue Reading
Ajax file upload usage with https://github.com/blueimp/jQuery-File-Upload plugin as follows: <div class="row"> <div class="col-sm-6"> <input class="file-upload" type="file" name="files" data-url="/file-upload.php" /> </div> <div class="col-sm-6"> <div class="progress"> <div id="progress-bar" class="progress-bar progress-bar-success"></div> </div> </div> </div> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> &...Continue Reading
import * as queryString from 'querystring'; async send(order) { const response = await axios.post('/isbank/send', queryString.stringify( { orderNo: order.orderNo, amount: order.amount, currencyCode: '949', language: 'tr', 'creditCard.cardType': '1', 'creditCard.cv2': order.cvc, 'creditCard.expiredMonth': order.expiredMonth, 'creditCard.expiredYear': order.expiredYear, 'creditCard.pan': order.number, 'user.Email': order.email, 'user.Id': order.userId }...Continue Reading
We can use following codes in a view A, then NEXT VIEW back button will not be shown $ionicHistory.nextViewOptions({ disableBack: true });...Continue Reading
In a cordova project, we can test network connection as follows: 1. Run following commands: $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git $ cordova plugin rm org.apache.cordova.core.network-information 2. Add following codes in app.js file as follows: $ionicPlatform.ready(function () { if (window.cordova && window.cordova.plugins.Keyboard) { cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true); cordova.plugins.Keyboard.disableScroll(true); } if (window.Statu...Continue Reading
We can use following Javascript & Angular JS code to send push notification in OneSignal by using FILTER property: var content={}; content.en="Test message"; var filters=[]; filter={}; filter.field="tag"; filter.key="authorId"; filter.relation="="; filter.value=54; filters.push(filter); parameter = JSON.stringify({ app_id: "31ee45e2-c63d-4048-903a-89ca43f3afa4", contents:content, filters: filters }); $http.post("https://onesignal.com/api/v1/notifications", parameter, { h...Continue Reading
By using following codes, we can get rid of marquee element. For more information please click <style type="text/css"> .wordwrap { white-space: -moz-pre-wrap; /* Firefox */ white-space: -pre-wrap; /* Opera <7 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* IE */ } .marquee,.marquee-left { overflow: hidden; } </style> <script type="text/javascript" src="/Scripts/marquee.js"></script> <script type="text/javascript" src="/Scripts/...Continue Reading
What is CKEditor? CKEditor is a ready-for-use HTML text editor designed to simplify web content creation. It's a WYSIWYG editor that brings common word processor features directly to your web pages. Enhance your website experience with our community maintained editor. JSP Example To use CKEditor in a Java web application, we need to add following dependency: com.ckeditor ckeditor-java-core 3.5.3 Afte...Devamını Oku

© 2019 All rights reserved. Codesenior.COM