At the moment it allows for 2 images to be magnified, but I intend displaying over 50 product images whose details are taken from a database. how to change the red parts of the script to read the changing information.
I am doing an application with two dropdown boxes.Once we change the value of first drop down using database values ,the values in the second drop down should change..then click on done it should display the data from databse.. first dropdown :contains country names second dropdown :contains city of particular country..My problem here at is displaying values on second drop down based on first drop down selection:
I do not know the value of both PHP-Values, they come from a database. I have tried now some hours to grab the values of this array, because i have to compare them to other values in similar inputs. But I simply do not know how? For a simple test i simply want to change the value of the chosen fields. I tried (nearly) everything from something like $("input[name='combi']").val('test'); to $("input[name='combi'//[//]//[//]]").val('test'); . In PHP I have absolutely no problem, i go simply through the arrays with:
I have a simple html form where a user logs in. On my PHP page I have my connection string and everything to verify if the login and password exist. If so it proceeds to another page.I read about some functions jQuery.post(),jQuery.get(),jQuery.ajax()but am having trouble using it. This is the code I have so far:My HTML page:
I am planning to show dynamically the different wheels setup of vehicles for eg. 4 wheels, 6 wheels etc. Then I want to allow for instance the user to click the front tyre into a icon representing for instance repair, rethread etc.
i am making a program in a JSP. i have used some java script code in this program.by this program i can find out the result for between years for any class.i have three combo box for class_name, from_year, to_year. for class_name, Its value is 1 to 12. when i select class 11 or 12, an combox appear for subject having values Arts,in database for class 1 to 10 having subject values is AllSubject. and for class 11 or 12 having subject values arts, commerce and science.my problem how i make the query which send for class 1 to 10 , assume subject values is all and for class 11 or 12 subject values arts, commerce and science with others combox values.combox box for subject remain hide when i select class 1 to 10. but if i select class 11 or 12 then value for subject is Arts, Commerce and Science. how i make query from database base on the subject.
Finally i got what i want but whar is missing is how how can i get those dynamically textboxes / Dropdowns strored or capture and stored into a database table.Un employee can go and select projects he is working on then the current 6 months time assignment to this project: each row or line is 1 project with respectibe assignment time.
I have a dropdown (picklist) on the page, and when the user selects one of the company names in the list the onChange event fires and kicks in some AJAX to get the company's details from the database. The details are just the various locations of each company.
The way I am doing it now I have a simple div on the page below the picklist and I am using PHP to draw out the entire HTML, including the values sought from the database, and then just using innerHTML on the div to dump the info in there.
i have created text fields dynamically by clicking a button now problem is that i want to save the value of these text field into database. i m using java script with PHP's framework codeigniter. the code is as follows
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
With input box if you type something and refresh the page, the previous words that you typed in will be filtered and be display in a scroll down form in which you can click it.My question is, when I click the input type is it possible to scroll down, and display values that comes from a database? It should also filter the scroll down results. If it's possible I don't know how to do it.
I am having no luck with my post form to mysql. It is only posting the first letter of the word/phrase for the text input fields to the mysql database. It is a photo and text post form. The photo and only first letter of text are posting to database. I am using Jqtouch, jquery, and phonegap.
I have a list of products where they have minimum quantities in a hidden input. Some products have multiple colours, though the same minimum quantity and I'm trying to implement a jQuery check that entries made are at least equal to the minimum.
Blank or '0' entries are fine but if it's below the minimum quantity it should set to the minimum.
Is there something obviously wrong with this? It isn't performing the minimum check and I'm really not sure why.
In part of my form, I have 3 inputs (one textarea and two text inputs),I am validating their value format using AJAX (each input triggers error message on its label in case format is wrong). Also I have one button, "NOT submit button" (type = button).Now, when clicking on the button it must enter the value of those three inputs in my database in case they are true then all inputs values must be cleared. In case AJAX validation is wrong and in case the user clicked on that button, the value of fields must kept as it is.
I built my company's website and the content portion of the site uses text with styles with relative values and the navigational part of the site uses text with styles with absolute values. The purpose of this was so that the end user could increase the size of the text on the webpage and only the content portion of the page would scale or resize but the navigation would not. This works as expected on a pc but the entire page scales on a MAC. Does MAC not support text with styles the same as pc so that the only scalable text is that with relative values (ie: small, x-small, medium, large, etc)? Absolute values conist of point sized text. Code: