update a div element value with text box value using jquery.

Laravel Ajax call showing 302 error/Response as response payload

This issue comes because of missing csrf token please add the below code if its not there.

Laravel redirects to public/login after logout.or trying to access dashboard

Below code explains the laravel redirection afterlogout. After logout if you try to access home/dashboard, it will redirect to following url http://localhost/schoolidcard/public/index if we try to access the below url http://localhost/schoolidcard/public/superadmin/dashboard it should redirect to http://localhost/schoolidcard/public/superadmin/ instead of this it is redirecting to below path http://localhost/schoolidcard/public/index Solution:for redirecting to superadmin/login .Add the below lines of… Read More »

TypeError: ‘append’ called on an object that does not implement interface FormData.

I m getting the below error while executting the ajax call with FormData TypeError: ‘append’ called on an object that does not implement interface FormData. Present code Looks like as below

Solution:Please add the below lines of code in the ajax request processData: false

Domain name validation using jquery

Please see the below code for the domain name validation using jquery

Domain name validation using javascript

Following are the code for domain name validation.

Error:Unhandled Promise rejection: Template parse errors:ngIf usage in angularjs2

Unhandled Promise rejection: Template parse errors: Can’t bind to ‘ngif’ since it isn’t a known property of ‘div I m getting the above error while execute my angular js code.

usulay this error will throw due invalid syntax.here small letter is used in the if(ngif).if you change to ngIf it will works fine.

unhandled Promise rejection: Failed to load

In the Following angular js code i m getting the below error unhandled Promise rejection: Failed to load app.test.html ; Zone: ; Task: Promise.then ; Value: Failed to load app.test.html undefined my code looks like below

Solution:This issue because of wrong syntax. use templateUrl: ‘app/test.html’ instead of templateUrl: ‘app.test.html’.

Without index.php laravel url not working In Ubuntu/How to remove index.php in laravel ubuntu

How to remove index.php in the url of laravel in ubuntu Solutiion:After a fresh installation of laravel 5.6 with php7 in ubuntu 16 version.if we execute the below url http://localhost/myproject/public — this will show the welcome page http://localhost/myproject/public/adminlogin — this will not work .But if you add index.php in the url like below http://localhost/myproject/public/index.php/adminlogin– this… Read More »