and instead of parents - you should be using closest('.item-
container')
On May 13, 2:45 pm, hjb wrote:
> I'll have a go:
>
> function removeChekbox(data)
> {
> $.each(data, function(i, val)
> {
> $('input[value="'+val+&
I'll have a go:
function removeChekbox(data)
{
$.each(data, function(i, val)
{
$('input[value="'+val+'"]').parents(".item-container").fadeTo
("slow", 0, function()
{
$(this).slideUp(500, function()
{
$(this).remove();
}
When the first page is requested create a token, save it to a database
and send it sent as a javascript variable.
When you use ajax, use POST not GET and send the token back with the
ajax request.
Check the token exists in the database, if it does then delete it and
send the ajax page back.
The s
Excellent use of trigger to fire the function once on page load
> Yes, yes, you are correct. I am outputting the javascript from php,
> which was interpreting $epc because the inline string was wrapped in
> double quotes. I reversed everything (using double quotes internally)
> and now the varia
4 matches
Mail list logo