Tag Archives: jQuery

modal dialog jquery rules

Dear all
I’m a newbie in PHP, jQuery and bad in English.
I want to ask about jQuery modal dialog rules, from database. This is my database:
Database picture
Questo è il mio codice: Javascript rules and jQuery Validate without theContinua a leggere

Tagged , , , , | Lascia un commento

Imageslide with jQuery (Maybe with PHP)

Va bene, so I have my div tag here and its css style ‘fondo’ is set to default.
Per esempio

<div id="slideimage" style="background:url(01.jpg);width:xxpx;height:xxpx;"></div>

And I have my next button

<a href="#" onClick="nextPhoto()">Next</a>

So I want to happen when I clicked on Continua a leggere

Tagged , , | Lascia un commento

Sending array as one variable from JavaScript to PHP

I have a form, and the URL is like this:

http://hostname/projectname/classname/methodname/variablename

And in my JavaScript, I fill an array like this:

var currentrelations = new Array();
    $(".ioAddRelation").each(function(index) {
        currentrelations[index] = $(this).html();
    });

And this array has two values ['eeeeee','eeeeee']…
Così Continua a leggere

Tagged , , , , | Lascia un commento

jquery dynamic url

I have a form and the url for submitting the form will generated dynamicly

var Var1 = new Array();
var Var2 = new Array();
if(Var1.length===0)
$(this).attr('action', 'http://localhost/Method' ).submit();
if(Var1.lenght!= 0 && Var2.length===0)
$(this).attr('action', 'http://localhost/Method/Var1').submit();
if(Var1.length !=0 && Var2.length!=0)
$(this).attr('action', 'http://localhost/Method/Var1/Var2').submit();

Continua a leggere

Tagged , | Lascia un commento

Jquery tabs keep tab open that is subid in url

i am using jquery tabs, and trying to get pagination in each one, everything works fine however, if i click to go to the next page on say the second tab, it does it fine, but transports me to theContinua a leggere

Tagged , , , | Lascia un commento

Image upload using php,codeigniter and jquery

Im working on a project..there is a form for posting an item .I want user to choose image and as soon as he select the image, the image should appear as preview. I written that code using plain php andContinua a leggere

Tagged , , | Lascia un commento

file path structures ajax and php sessions

I am working on a projects that is kind of all over the place. My display file is index.php. From there I make calls via jquery to ajax functions which then call php file that gets and receives user dataContinua a leggere

Tagged , , , , | Lascia un commento

Get next image image using jQuery, in a gallery of dynamically loaded content

I have dynamically loaded my thumbs into my gallery using php, and each thumb is linked to its corresponding large image in another folder also using a php variabile. ad esempio,:

echo'<a href="'.$image_file.'" rel="lrgimg" class="lightbox" style="text-decoration:none;border:none;margin:0px;">
    <img id="thumbs" src="'.$thumbnail_image.'" width="133px" 

Continua a leggere

Tagged , , , , | Lascia un commento

Processing Jquery Ajax form submit with php

Recently I’ve been struggling with Jquery and Ajax while trying to submit forms with them. I have a very simple form with a username field and password field as well as a submit button. What the form is supposed toContinua a leggere

Tagged , , | Lascia un commento

Javascript / PHP string encode / decode with key

I am working on a sign in form using jQuery / CodeIgniter and was wondering if it would be possible to do something like so:
When the user clicks Sign In… it sends a request via AJAX to get a Continua a leggere

Tagged , , , , | Lascia un commento
117 pagine