I am trying to make something where you can post, and with jQuery it submits (no refresh or parsing via another page) and inserts the data into the DB. The code I am using for the jQuery is in my <head> and this is the code:
yeah it seems to be Edge only. The dialog buttons work as expected in Chrome and Firefox. The phone is using Android 16 (OneUI 8.5) and Edge version 149.0.4022.53
I'm not aware of this issue, but to help the other guys.
What version of Android are you using?
Did you try a different browser? To see if Edge is the issue here.
I agree when are you going to read this (really poor BTW) article?
Here is a better article so you actually know what is going on and answers questions you had in other comments --> https://arstechnica.com/gadgets/2026/05/speed-boosting-low-latency-profile-is-one-of-the-improvements-coming-to-windows-11/
It is unclear if one will be able to disable the new profile at this point but I am not seeing any reason why one would.
I disagree; they come off very "bitchy" and "whiny".
Make a great product and combine that with a great price (free) and people will come over to your side. Or build it and they will come as they say.
Constantly trying to get attention by complaining all the time, will turn people off to your product.
It use to be a nightmare, with LibreOffice supporting a newer draft ODF standard by default, and Microsoft Office supporting the older non-draft standard. Now that they both support the same version of ODF, they should be interoperable.
Question
Shazer2
I am trying to make something where you can post, and with jQuery it submits (no refresh or parsing via another page) and inserts the data into the DB. The code I am using for the jQuery is in my <head> and this is the code:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script> <script type="text/javascript" > $(function() { $(".submit").click(function() { var np = $("#np").val(); $.ajax({ type: "POST", url: "inc/ajax.php", data: np, success: function(){ $('.success').fadeIn(200).show(); $('.error').fadeOut(200).hide(); } }); } return false; }); </script>I then have the following in ajax.php and I am 100% certain it's in the correct directory.
<?php /** * @author Shannon * @copyright 2011 */ session_start(); include ("connect.php"); $user = $_SESSION['username']; $np = $_POST['np']; $np = mysql_real_escape_string($np); mysql_query("INSERT INTO `posts` (user, np) VALUES ('$user', '$np')") or die(mysql_error()); ?>That is all correct too, but it just doesn't seem to insert into the database. If anyone has an idea why, please post a reply.
Link to comment
https://www.neowin.net/forum/topic/990268-jquery-submitting-a-form/Share on other sites
17 answers to this question
Recommended Posts