3,446 Topics
![]() | |
Hi, I have looked at this code and I cannot see the problem. If anyone can spot the error then I will be very grateful. Basically I am returning an array from a .PHP in json format the code is here. echo json_encode($anarray); the array is made up like "vegetable" … | |
I have city and its corresponding locality. City is showing dropdwon and Locality in Dropdown-Checkbox I got code Dropdown-Checkbox, when user clicks city then its locality will show in Dropdown-Checkbox. It is showing multilist control in thepage but when I choose city it is showing multilist-box rather Dropdown-Checkbox. How I … | |
Hi guys, I wonder if you could clarify something for me. I am looking at some css examples and I have this situation here: html: ...<div id="news"> <h2>Latest News</h2> <p> Which member of the seminal calypso/lectro band <em>C&C Music Sweatshop</em> was spotted last night at <em>Dirt</em>, the trendy New York … | |
I am having some trouble. I have a Telerik editor where I display I file that is housed in my application. I need to save the changes back to the file. But some things also get saved to back to the database. My save button currently does save back to … | |
Hello there, I wonder if you can help me with a jquery issue. I am at the moment reading a book about it and there is an example in there, which you can see here http://antobbo.webspace.virginmedia.com/various_tests/worktest/chapter_03/09_animated_navigation/index.html If you hover on the navigation you will see the jquery effect kicking in … | |
I'm looking for a short jQuery snippet to count how many divs I can have horizontally in my browser window. Basically, I'm using a fluid layout, like this: <div id="wrapper"> <div id="content"> <div class="foo" /> <div class="foo" /> Wrapper is 100% width, and foo about 250px wide. What's the simplest … | |
Are thyere any security issues that can affect data integrity or theft by other party and si there a solution to avoid this using the cool efects of jquery and json? | |
I need some help. I'm loading a .php file using jquery. the php is a mysql query that pulls all the cities from Alaska. The problem is that I wrote my query a certain way and it seems jquery changes it when it loads it. state_alaska.php include 'config.php'; include 'opendb.php'; … | |
Hi, i created fileuploader using php and jquery.user one click same time upload 20 images. i need each 3 images automatically arrange in 3 different sizes.first image width:120, 2 image width:192,and 3 one is 280. all the uplaoded images grouping 3 images. This is the my index page code. anybody … | |
Im trying to build a drop down menu like the one on this site: http://www.debijenkorf.nl/. I know css and i have built normal horizontal menus before,but not with drop down menus. I would like some info on how to build this. Thanks. | |
Please explain to a complete noob and please help me in regular javascript not jquery. I want an image to be shown and when clicked another image to show up right underneath | |
Hello Hello, I'm looking for some quick help if possible. I have webpage up that works perfectly except in IE. In IE the contact form won't even show. I have no idea what the problem is. If someone would take a loook and provide assitance I would be oh so … | |
Here is the poblem Class file I am not sure if it reading the id and saving it Java file (Error: After end of result set) when trying to display SQL, (Error: in the id) package homework1; import java.text.FieldPosition; import java.text.SimpleDateFormat; import java.util.Date; import java.sql.Connection; public class RegisterEntry { //Registration … | |
consider code below: //Consider the php part(process.php) <table border="1"> <thead> <tr> <th>Name</th> <th>Language</th> </tr> </thead> <tbody> <?php foreach($_POST['names'] as $k=>$v){ ?> <tr> <td><?php echo $v; ?></td> <td><?php echo $_POST['languages'][$k]; ?></td> </tr> <?php } ?> </tbody> </table> //html part**``** <HTML> <HEAD> <TITLE> Add/Remove dynamic rows in HTML table </TITLE> <script type="text/javascript" … | |
Hi there, I have a Country/City list in my SQL database and access it with PHP using a select element in php. I use the Chosen Jquery Plugin for the styling of these select elements. Now my problem is that i want only the cities of the country selected to … | |
Hello, I used a plugin from CSS-Tricks.com which is located here: http://css-tricks.com/downloads/ It's an Infogrid Accordion. It's working very well, but I'm having problems with the position of the columns. At first, all of them are in the middle, but when I clicked a column, all the others will stack … | |
Hello, I am trying to create dynamic dropdown lists with PHP MySQL and AJAX. When a user selects a category from the first dropdown, the subcategory dropdown should populate with all the sub categories that belong to the selected category. I am using Fuel CMS as my framework. In my … | |
have a calendar with individual divs for each day. Each div has a unique ID. A modal dialog pops up when the user clicks edit image. The user can set the payable hours in the modal dialog and I want those hours that are entered in the dialog box to … | |
i hav loaded data from database to jquery mobile dropdown list. i want to trigger an event i.e query database using the selected item as key. can somebody illustrate how for instance i can alert the value of the new selected id. that alone can give me an idea to … | |
I have some JavaScript code, currently it takes a users location and reorders a HTML ordered list to dosplay a list of items which are closest to the user's location. Can anyone help so that the items in the HTML list, which are in for instance a vicinity of 1KM … | |
Hello, I am working on a site that has big image on its background. So when the page loads, the image loads very slow also. See the picture to understand http://i1235.photobucket.com/albums/ff429/rakwel10/loading-issue.jpg Slider images are also problem. What are the possible ways to solve this? "$(document).ready(function()" is not also working. Pls … | |
Hello, I am trying some code I found on the net for a fade in/ fade out slideshow. It is working fine on FF, Chrome and Safari on Windows. On Chrome Mac, the slides appearing one below the other, on IE8 on Windows, the text under the slide, does not … | |
Hi there. I have a menu which is toggle-able with jquery. By default it's hidden until the menu link is clicked. What I've been asked to do it make it so that when the user clicks it open it stays open from page to page. I'm assuming some sort of … | |
Hello, I created 2 lightboxes on my page. When I just had one, everything worked fine. The 2 lightboxes are not displayed at the same time. There are 2 links that open each respectly. <a href="#" class="lightbox1">Open box 1</a> <a href="#" class="lightbox2">Open box 2</a> The following is the HTML/CSS: <div … | |
Hi, I have an aspx page in that when i select check all option and when i click on submit its popping an error message length of the query string exceeds th max query string value.so i have done lot of modifications on web.config file none of the changes are … | |
![]() | I can't think of how this thing is called and so I can't find any example on google, I'll try to explain my vision best I can. I want to have a list of square divs, each has contant (but that's not the point), so the divs are standing in … |
i want that when user type username in from fiel it validate from process.php and after validate it show result in front of name field . i want that when user select uk from contry it show uk city and if selected india then show india cities how can it … | |
Hey, I was wondering if someone could help me with this. I want to, when an anchor link is clicked, the id of the link is grabbed by jquery then passed to a function. The id is would be the same as the id of the div that is used … | |
Hi guys, I have a maybe simple question, but I'm wonder how they do this: [http://www.blacknegative.com/#!/adisseo/](http://www.blacknegative.com/#!/adisseo/) background image scale perfect in all screen resolution (even 2560x1440 or 800x1280), and the background picture is only ~1000 x 1000 pixels. I make similar effect with <img src=""> and some javascript, but they … | |
so I am attempting to intergrate a social media aspect upon my blog http://tinanewtonart.tumblr.com but I am having issues with disqus. Tumblr uses a markup HTML5 construct that can be reviewed here http://www.tumblr.com/docs/en/custom_themes <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <?php // Copyright 2010 … | |
Hi, Does anyone know if Bing translator is still available, or has it gone the same way as google, and converted to 'paid'? I'm trying to use jquery translate on a website that I'm building, but despite 3 days of searching I cannot find how to get a Bing Appid … | |
Hi there, I'm trying to create a button that toggles an sql query. I have a navigation bar with certain elements hidden by the admin, the admin can preview the page and there's a toggle button to hide or show the items that are marked as hidden. $sql = "select … | |
I'm populating a chained linked dropdown box with the following code: $(document).ready(function() { var data = <?php echo $arr;?>; var id; function getData(passCatID){ var content = ''; var content = '<option name="specify id="specify" style="background: url() right no-repeat; width: 20px">------SPECIFY-----</option>'; var product_desc = ''; var invt = ''; var qty = … | |
Hi: I was wondering if it is possible for an click() element for jquery to call another document.ready() element from within. Here is what I mean: I have: $('#addrow').click(function(){ $('.item-row:last').after('<tr class="item-row"><td valign="top" align=center style="border-left: 0px solid #cccccc;" width="100%" class="item-name"><div class="delete-wpr"><?php echo $dd2;?><a class="delete" href="javascript:;" title="Remove row">D</a></div></td><td valign="top" align=center ><select id="service_subcat_1" … | |
I'm trying to upload an Image to PHP. The most common method I found out to do this was using FORM/POST; But that doesn't help me for what I am about to do. What I actually am trying to do is upload an image to PHP, the PHP Script will … | |
# How to access $_SESSION in jQuery ? # I'm developing a existing chat using jQuery with PHP. here is the code function createChatBox(chatboxtitle,minimizeChatBox) { if ($("#chatbox_"+chatboxtitle).length > 0) { if ($("#chatbox_"+chatboxtitle).css('display') == 'none') { $("#chatbox_"+chatboxtitle).css('display','block'); restructureChatBoxes(); } $("#chatbox_"+chatboxtitle+" .chatboxtextarea").focus(); return; } $(" <div />" ).attr("id","chatbox_"+chatboxtitle) .addClass("chatbox") .html('<div class="chatboxhead"><div class="chatboxtitle"><a … | |
![]() | NotiOpened = '0'; if (NotiOpened == '0';) { $("#notification").slideDown("slow"); $('#notification').load('notification.php'); NotiOpened = '1'; } else { $("#notification").slideUp("slow"); NotiOpened = '0'; } what's wrong with it? |
Hi, Im trying to save a change value to the database from an autocomplete textbox. I have 2 scenarios 1) Add a new value without selecting any option from the autocomplete list. I want the oblur or any similar method of the textbox to hit whenit loses focus to call … | |
I have a table of data with hostnames in column two of my table and other data such as location, type, etc. in the other columns. I would like to have a button that will filter any hostname that ends with an H. So far I have the code below … | |
Guys please give a simple code (specific syntax) on how can I integrate a jquery in my PHP site using codeigniter. and what configuration should be made in my other php files to make it work. I also cannot display any image in my php files inside the views folder, … | |
Hi, I'm very new to javascript, if someone could help me I would really appreciate it. I'm adding this floatable jquery menu to my site [jquery-floating-menu](http://manos.malihu.gr/jquery-floating-menu). What I'm trying to do is get the menu to expand when clicked. I have tried to add .click instead of .hover but it … | |
i want to add my dynamically created table rows.. to the database .. however i cant add it .. badly needed your help guys... thanks in advance heres my code: <?php include('connect.php'); if(!isset($_SESSION['user_id'])) { header('Location: login.php'); } $user_id = $_SESSION['user_id']; ?> <?php $date = $_POST['date']; if (isset($_POST['submit'])) { if($date != … | |
I am learning jQuery from thenewboston. I have learnt about ID selectors (#) and element selectors (<html element>). They have also used the colon selector (:). What is the colon selector for? Can somebody please explain in an easy way? | |
Hi peeps, I wonder if you can help me at all. I am recreating a simple design, just doing some testing really, and what I am trying to achieve is to hide and show the navigation on the left side, here's the website: http://antobbo.webspace.virginmedia.com/various_tests/worktest/test.htm So ideally when i click on … | |
Hello there am working on a website where members can add event. Once the member select the event type, the form for that event will appear. below are the pages i did. I also included jquery-1.7.2.min.js. Once i select any event on the **add_event.php** it brings the right form as … | |
I need help creating a form for a project. I'm open to HTML5 , Jquery , Javascript but I will need this to be compatible with Iphone/Ipad/Android. I need to create a form with a text field. Only 7 digit model numbers will be typed into the field. Based on … | |
I am building a small quiz app and the choices are all list items (li) In jQuery or javascript how would I be able to allow the user to select one answer (it is ok if I need to add an 'a' tag) and then when they click submit (which … ![]() | |
Hi guys, I have a php crop issue, I am using Jcrop (JQUERY plugin) to allow users crop their user profile picture jquery doesnt have an issue (is easy to select) but when processing image crop in PHP, image crop doesnt work and all i get is an empty page … | |
i m trying to make a multiple level slide in-out menu in juqery.. i m able to open one div.. but not able to hide open div and show the clicked one.. this is my work.. click menu1 only working.. when i click menu2 everything goes work.. please have a … | |
<html> <head> <!--Load the jquery lib --> <script type="text/javascript" src="jquery-1.7.2.js"></script> <!--Use jquery --> <script type="text/javascript"> $var = 1; </script> <script type="text/javascript"> $(document).ready(function(){ $('#cont').click(function(){ $('<p />').text("hye").appendTo($('#cont')); }); // $('p').live("click", function(){ // if($(this).text() == "Good...1") // $(this).empty().appendTo($('#myDiv')); //}); }); </script> --> </head> <body> <!-- <div id="myDiv"> <p>Hello world!</p> </div> <a href="#" id="myLink">Change … |
The End.