Archivo de la etiqueta: 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
Este es mi código: Javascript rules and jQuery Validate without theSigue leyendo

Etiquetado , , , , | Deja un comentario

Imageslide with jQuery (Maybe with PHP)

Bueno, so I have my div tag here and its css style ‘fondo’ is set to default.
Por ejemplo

<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 Sigue leyendo

Etiquetado , , | Deja un comentario

Sending array as one variable from JavaScript to PHP

Tengo un formulario, 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']…
Así Sigue leyendo

Etiquetado , , , , | Deja un comentario

URL dinámica jQuery

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();

Sigue leyendo

Etiquetado , | Deja un comentario

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 theSigue leyendo

Etiquetado , , , | Deja un comentario

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 andSigue leyendo

Etiquetado , , | Deja un comentario

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 dataSigue leyendo

Etiquetado , , , , | Deja un comentario

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 variable. por ejemplo,:

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" 

Sigue leyendo

Etiquetado , , , , | Deja un comentario

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 toSigue leyendo

Etiquetado , , | Deja un comentario

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 Sigue leyendo

Etiquetado , , , , | Deja un comentario
117 páginas