15,121 Topics
| |
I'm trying to adapt the opensource code from the page [url=http://tlrobinson.net/iphone/lighttable/]Drag and Drop in MobileSafari[/url], here is a snippet of the code I've changed from: [code] function jsonFlickrApi(data) { for (var i = 0; i < data.photos.photo.length; i++) { var p = data.photos.photo[i], img = document.createElement("img"); img.src = 'http://farm'+p.farm+'.static.flickr.com/'+p.server+'/'+p.id+'_'+p.secret+'_m.jpg'; img.className … | |
Hi Guys! :) Erm I have made a section for members to post messages although I know some members will post messages to just observe what effect it may have on the layout as such or just to be pests. My problem is: I have got a table that displays … | |
| Hi All. I have been struggling with a form wizard all day. I'm using jquery stepy (form wizard) along with validation plugin. To cut a long story short, my first step is to get MySQL connection from form controls details. On submit ('next' button) a check is made on an … |
I hope somone can help me. I made a page and used jquery for a popup page. In the popup page i have 15 images. I want the user to select a image and once the image is clicked it must be displayed on the main page. I have tried … | |
Im trying to implement JCarousel in my site and have some confusion about what to do, two files, one called similar_products_stack which contains the query: [CODE]<?php $similar_items = array(); $category_in_now = zen_get_products_category_id($_GET['products_id']); for($i=0;$i<4;$i++) { $products_query_raw = "SELECT p.products_id, p.products_type, pd.products_name, p.products_image, p.products_price, p.products_model, p.manufacturers_id, p.master_categories_id FROM " . TABLE_PRODUCTS . … | |
Hi Guys, I need the following code to allow all common image formats, not just .jpgs, as I now need to display animated .gif images, as well as .jpgs. How could this be done? Many thanks, Dave ps: the code below uses a loop to count through the 7 images, … | |
My code doesn't really matter, it sends and retrieves the correct info, but the question persists... How can I verify if the action after my $.ajax call is done and if not perform until done? Sometimes it performs the action sometimes it doesn't, it loops the request in this case … | |
How can i make a save file as option in Ajax response? This response returns files in 3 different formats. I have to ask User to save file as in thet format. (Hope i have to open some Save file prompt) Can anybody tell me? Thanks | |
I have a page and a large form with many texareas (lot of text, I've made a cms system) and my form is kinda "heavy", I use some javascript to update it and then save/post form with php submit and $_POST variables and that bit. I have given this javascript … | |
Hi! I am a developer. I am using jquery to create a modal dialog. I am using the following code snippets. Please tell what is going wrong: [CODE]<link rel="stylesheet" type="text/css" href="jquery-ui-1.8.7.custom.css" /> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jquery.min.1.4.js"></script> <script type="text/javascript" src="jquery-ui.min.1.8.js"></script> <script type="text/javascript" src="jquery.min.1.3.2.js"></script> <script type="text/javascript" src="jquery-ui.min.1.7.2.js"></script> [/CODE] [CODE]$(document).ready(function () … | |
Hey guys, I am doing a very simple POC regarding Instant Messaging using Struts. So I was able to do login and sending message. However, I am confused on how I can get the messages display to my POC if the other person is replying. The idea that I am … | |
Hi every gurus here, i was encounter problem in passing value into url, please refer to the script below, i have batch of records which fetch from database and had a quantity box and update button on each (using onclick updateValue() function), i created javascript array to get each quantity … | |
Hi! I am working with jquery and I need to open an aspx page in a div tag that comes as a modal dialog. I am successful in doing the following: [CODE]$("#addaccount").load('test.html'); $("#addaccount").load('test.php'); $("#addaccount").load('test.jsp');[/CODE] But when I do this: [CODE]$("#addaccount").load('test.aspx');[/CODE] Something goes wrong and I am unable to do so. … | |
Hi, I need a JavaScript Validation for Dynamic Drop Down Box when clicking the submit button. But the drop down box attribute name and id should be same for all drop down boxes. I tried below code but its not succeeded, its work well when there are multiple drop down … | |
Can anyone help with a problem with a JQuery Find? In the example below I want to find the select & text objects within Div1. Here is the HTML: [CODE]<div id="div1" style="border:solid 1px #c6c8dd; background-color:#ff0000; padding:5px;"> <div style="width:916px; padding-top:10px;"> <select id="Select1" runat="server"></select> : <input id="Text1" style="width:200px;" type="text"> </div> </div> [/CODE] … | |
Hi, I have a form where the users can add "name" and "id" fields by clicking on the "Add" button. The input fields look like this (each pair is a row): [CODE]<input name="name_1" id="name_1" /> <input name="id_1" id="id_1" /> <input name="name_2" id="name_2" /> <input name="id_2" id="id_2" /> ... [/CODE] The … | |
Hi! I have created a modal dialog. When I close it the page refreshes automatically but in my scenario the page should not do so. The code I am using is: [CODE]$(document).ready(function () { $("#addaccount").dialog({ height: 'auto', width: 'auto', modal: true, autoOpen: false }); $("#addaccountlink").click(function (e) { $('#addaccount').dialog('open'); });[/CODE] Here … | |
I take value from textbox as, [CODE] var perOfEasyQues = parseInt(document.getElementById("<%=txb_EasyQuesPerc.ClientID%>").value); [/CODE] but as I put 012 it takes 10. Can anybody suggest solution over it? | |
Hello, I'm trying to skip a line every 'x' queries that gets displayed. I can get the records to show but I can not skip a line every 'x' query shown. I've tried using javascript and php but can not get it to work. Can someone plz help or give … | |
I want to know how to update a href link with javascript using an image. I have a image which has to update a href which displays a lightbox. Could someone please tell me know to do this. | |
Hi there, I got this annoying problem... I have to create dynamically an image control that has got to be accesses later through javascript. In other words, I got an image that was created in the page code, and using javascript I got to be able to work with it … | |
Hallo @all my problem is XMLHTTP by Mozilla Browser is an example W3SCHOOL [URL="http://www.w3schools.com/xsl/xsl_client.asp"]http://www.w3schools.com/xsl/xsl_client.asp[/URL] [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>html work with xml and xsl</title> <meta content="text/html; charset=us-ascii" http-equiv="Content-Type"> <script type="text/javascript"> var xsltProcessor; var xml; var xsl; var xhttp; var ex; function checkBrowserName(name){ var agent = … | |
I started learning AJAX recently and I must say that it is very interesting. But I have a little problem understanding why [B]nodeValue[/B] is not returning any value. But when I change the [B]nodeValu[/B]e to [B]nodeName[/B] I get the right result. I am currently accessing the individual elements manually because … | |
I want like [3 drop-down menus / picker] at: [url]http://www.russian4foreigners.com/node/298[/url] (end of page) implement mine at: [url]http://www.poliscarhire.com[/url] (left side of page) currently exist ONLY 3 drop down menus... I think above site used Drupal & jQuery (source code)... well, I want as you see in my site, a total of … | |
Hi, I am using MasterPages with ASP.NET. The main contstruct of my MasterPage is a table providing a header, menu panel, main content and footer. I would like the table to at least fill the whole screen height. I've found (thru Google) a way of determining the screen height. The … | |
[CODE]function getUsers(column, id) { $.get('userlist.php', {column: column, id: id}, function(output) { $("#userlist").html(output); }); setTimeout(getUsers(column, id), 5000); }[/CODE] userlist.php checks for users online. i want it to check every 5000ms (for example, doesnt have to be that) Firebug is giving me 'too much recursion' errors. I've used this exact code structure … | |
hi All I hace created job site i writed to my own CSS. but it displays in IE fine like i want. but in Mozilla it displays all borders. how can i do that in displays table like in IE. Thank you very much. this is my site [URL="http://www.karyeram.com"]http://www.karyeram.com[/URL] my … | |
I have tried the following but I am unable to do so: <link rel="stylesheet" type="text/css" href="http://7h5nk1s:11261/ecmaomexamples/SiteAssets/password_meter.css"/> <script type="text/javascript" src="http://7h5nk1s:11261/ecmaomexamples/SiteAssets/password_meter.js"></script> When I try to access these files the following line throws error: document.write('<script type="text/javascript" src="/_layouts/blank.debug.js?rev=jE3bS2JFTB63z3iWgauX9w%3D%3D"></' + 'script>'); in the sharepoint page. Urgent help needed. | |
Hi! I am a developer. I am using jquery to implement various functionalities. I am using jquery.js with jquery-1.2.6.min.js. It shows an error in the following code snippet: (!q&&!n&&c.data(this,k,new c[l][k](this,p))._init()) as object expected when I debug the web application. I am a novice in this field. Any kind of help … | |
I want to download the records of the output of search criteria to excel. As the fields for search criteria are more than 20. I am submitting the form with POST method rather than GET. On click of "Download2excel", the hidden variable name1 is set to Yes. so i will … |
The End.