Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Zoho Docs
Google Docs
Each Attachment size should not exceed 1MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Screen name:
softwaregest
softwaregest's Profile
3
Posts
6
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Ideas
Problems
Expanded view
List view
Private Message
Jquery easy confirm dialog.js - Open url with parameters
[0Replies]
11-Jan-2013 03:33 AM
Forum:
Using jQuery Plugins
Hi,
I'm implementing the plugin jQueryMobile - SimpleDialog
I managed to make it work, but now, after the confirmation I need to open a url with a parameter taken from a variable-php.
Ho provato cosi ma non funziona l'eliminazione del record.
<?php
$idCliente = mysql_real_escape_string($_GET['idCliente']);
?>
<script type="text/javascript">
$(document).delegate('#simplebool', 'click', function() {
$(this).simpledialog({
'mode' : 'bool',
'prompt' : 'Vuoi Cancellare il Record?',
'useModal': true,
'buttons' : {
'OK': {
click: function () {
var id_Cliente = "<?= $idCliente ?>";
$(window.location.href="delete_cliente.php?idCliente='+id_Cliente+'");
}
},
'Annulla': {
click: function () {},
icon: "delete",
theme: "c"
}
}
})
})
</script>
Form Post Update don't work
[10Replies]
08-Jan-2013 09:24 AM
Forum:
jQuery Mobile
Hi,
I have try this but not work, what it's my error? thanks
<script type="text/javascript">
$(document).ready(function() {
$("#submitCliente").click(function(e){
var formData = $("#updateClienteForm").serialize();
$.ajax({
type: "POST",
url: "update_cliente.php",
cache: false,
data: formData,
success: onSuccess
});
e.preventDefault();
});
});
</script>
<div data-role="content" data-theme="c">
<form id="updateClienteForm" method="post">
<label for="ragioneSociale">Ragione Sociale:</label>
<input type="text" name="ragioneSociale" id="ragioneSociale" value="'.$r->RagioneSociale.'"/>
<label for="idCliente">idCliente:</label>
<input type="text" name="idCliente" id="idCliente" value="'.$r->idCliente.'"/>
<div button data-icon="check" data-theme="b" id="submitCliente" type="submit">Salva</button></div>
</form>
</div>
update_cliente.php
<?php
include 'connection.php';
$id_cliente = $_GET["idCliente"];
$RagioneSociale = $_GET["RagioneSociale"];
$sql = "UPDATE clienti SET RagioneSociale = ".$RagioneSociale." where idCliente = " . $id_cliente;
mysql_query($sql);
?>
JQuery Mobile - Get Value From InputText
[0Replies]
08-Jan-2013 04:59 AM
Forum:
jQuery Mobile
Hi,
How do I get the value of a field in order to then upgrade?
<a rel="external" href="update_cliente.php?idCliente='.$r->idCliente.'&RagioneSociale=VALUE FROM INPUTTEXT"data-icon="delete" data-theme="b" class="ui-btn-right">Salva</a>
Regards, Daniele
«Prev
Next »
Moderate user : softwaregest
Forum