Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
57% Quality Score
Upvotes Received
5
Posts with Upvotes
3
Upvoting Members
5
Downvotes Received
4
Posts with Downvotes
2
Downvoting Members
4
1 Endorsement
Ranked #860
Ranked #11.7K
Ranked #3K
~32.4K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums

16 Posted Topics

Member Avatar for anand9796

In JS, even if the Object looks same, they can not equate to equality because of the being the reference type. I like to solve this with somple trick as with `JSON.stringify` $(document).ready(function(){ var obj1 = { }; var obj2 = { }; if(JSON.stringify(obj1) === JSON.stringify(obj2)) { alert('true'); } else …

Member Avatar for Dani
0
389
Member Avatar for ashleyplott

If I am understanding (or assuming) correctly, it is not possible to pass name via the `tel:` links. And hence it is not possible to change what use will see as name on their phone on clicking these links

Member Avatar for praveen_29
-1
337
Member Avatar for anand9796

There are multiple ways: 1. Global ajax error events in jQuery: https://api.jquery.com/ajaxError/ 2. Attach `.fail` to `jqXHR` object; example here; https://api.jquery.com/jQuery.get/ 3. You can pass the `error` key and handler function in the `$.ajax` function ----- $.ajax({ ... error: function() { // handle error here }, ... }) with `.fail`: …

Member Avatar for pankaj_patel
0
362
Member Avatar for zao2k

The new Async/Await makes super easy to handle this; I am just gonna assume some names and give an example: /*************/ /* Fake Functions */ const timeOutPromise = (timeout, returnData) => new Promise(resolve => { setTimeout(() => { resolve(returnData); }, timeout); }) const fakeFileUpload = () => fetch( 'https://jsonplaceholder.typicode.com/posts', { …

Member Avatar for pankaj_patel
0
248
Member Avatar for Rodney_6

You can use `window.location` object to make this possible. **page1.html** <form action="frame.html" method="GET"> <input type="text" name="SOMEID" /> <input type="submit" value="Submit" /> </form> **frame.html** <html> <body> <nav> <ul> <li><a data-linkplaceholder="/link/some/$placeholder$">Link1</a></li> <li><a data-linkplaceholder="/link/another/$placeholder$">Link2</a></li> <li><a data-linkplaceholder="/link/special/$placeholder$">Link3</a></li> </ul> </nav> <script> (function(loc){ var val = loc.search .replace("?", "") .split("&") .reduce(function(acc, item) { var i = …

Member Avatar for rproffitt
0
318
Member Avatar for Maryam_8

Few Problems I can state here: * Your form submit is handled by jQuery; so the script for form submit should come after you have included the jQuery * Now as you have done the above step, problem is that the event handlers should be added when document is ready; …

Member Avatar for pankaj_patel
0
1K
Member Avatar for jParker66

Simplest way to use svg fime in HTML is to use it with `img[src]` tag likea regular Image. If you wanna go advanced, you can paste the `SVG` code as well in the HTML (except the xml namespace part) and style with CSS; as almost all the components of SVG …

Member Avatar for gentlemedia
1
3K
Member Avatar for engrjd91

NodeJS & MYSQL are the BackEnd part or processing part of the App white ReactJS provide the Front End or View part to the App. To integrate all these, best way is to create API with NodeJS+MySQL and use it in the ReactJS app I wront a similar answer at …

Member Avatar for pankaj_patel
0
508
Member Avatar for aveeva7

Have you set the redirect-url correctly while setting up the payment gateway? as you mentioned 404, that means CCAvenue sent you successful payment response but is not under your control or something not defined. I would recommend to use https://github.com/kishanio/CCAvenue-PHP-Library Here in this library; `$ccavenue = new CCAvenueClient( '<merchant_id>', '<working_key>', …

Member Avatar for pankaj_patel
0
781
Member Avatar for Dani

Have you tried Postman, the collections are the cool way to organize API endpoints and provide a testing way. It can also be your API testing tool https://learning.getpostman.com/docs/postman/collections/creating_collections

Member Avatar for pankaj_patel
0
3K
Member Avatar for paulkd

I would like to share a helpful article (which I wrote) without jQuery and entirely vanillaJS https://time2hack.com/2018/08/upload-files-to-php-backend-using-fetch-formdata/

Member Avatar for NaReSh_12
1
11K
Member Avatar for Ramakrishnan.L

I had developed such type of solutions few months ago. For the sync you can create the server side code which will get the data and the local server end which will put the data. Now at local end you will mark a time and after that time you can …

Member Avatar for Athi_3
0
4K
Member Avatar for João_5

$data = shell_exec ("echo %date%.txt"); Make sure above code does not outputs any type of extra chars or EOL chars.

Member Avatar for Abdul Waseem
0
4K
Member Avatar for game4tress

when any user sends a messsage to server; mark its activity and to show who is online or offline you might be checking it by any type of AJAX call with the **setInterval** function of the javascript. So on the server end of that AJAX you just put the time …

Member Avatar for jkon
0
281
Member Avatar for gilgil2

On line 33 use [CODE]echo '[/CODE] or on line 37 use [CODE]";[/CODE] because echo can work with both '' and "" but if ' is used at start the ' have to be used at the end and same with "". And also I recommend to use "" coz it …

Member Avatar for gilgil2
0
2K
Member Avatar for yanlinnaung87

If explorer.exe is restarting again and again and you do not want to re-install the Windows then you can use alternate explorers like [URL="http://tcup.pl/"]TCUP[/URL] [Total Commander Ultima Prime]

Member Avatar for pankaj_patel
0
251

The End.