15,121 Topics

Member Avatar for
Member Avatar for Nathan Campos

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 …

Member Avatar for Airshow
0
285
Member Avatar for public-image

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 …

Member Avatar for public-image
0
69
Member Avatar for diafol

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 …

Member Avatar for diafol
0
1K
Member Avatar for PeterWaij

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 …

Member Avatar for JCWD
0
121
Member Avatar for borillion

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 . …

Member Avatar for Airshow
0
160
Member Avatar for Disloxic2

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, …

Member Avatar for Disloxic2
0
98
Member Avatar for ALFA-FOXTROT

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 …

Member Avatar for Airshow
0
177
Member Avatar for nithyavelumani

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

Member Avatar for Airshow
0
128
Member Avatar for rolfhorror

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 …

Member Avatar for rolfhorror
0
220
Member Avatar for soft_coder

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

Member Avatar for soft_coder
0
148
Member Avatar for 3vilwyatt

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 …

Member Avatar for Airshow
0
271
Member Avatar for conmen80

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 …

Member Avatar for mahavir123
0
84
Member Avatar for soft_coder

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. …

0
58
Member Avatar for prasath03

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 …

Member Avatar for Airshow
0
237
Member Avatar for supahoopsa

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] …

Member Avatar for pritaeas
0
77
Member Avatar for lewilaloupe

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 …

Member Avatar for parry_kulk
0
2K
Member Avatar for soft_coder

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 …

Member Avatar for soft_coder
0
7K
Member Avatar for Nitin Daphale

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?

Member Avatar for Nitin Daphale
0
80
Member Avatar for Mars1936

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 …

Member Avatar for Mars1936
0
148
Member Avatar for scarcella

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.

Member Avatar for scarcella
0
107
Member Avatar for cavpollo

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 …

Member Avatar for cavpollo
0
671
Member Avatar for xml_looser

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 = …

Member Avatar for Airshow
0
295
Member Avatar for cossay

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 …

Member Avatar for cossay
0
190
Member Avatar for lse123

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 …

0
89
Member Avatar for YooJayDee

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 …

Member Avatar for YooJayDee
0
100
Member Avatar for Aeterna

[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 …

Member Avatar for Airshow
0
118
Member Avatar for azegurb

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 …

Member Avatar for azegurb
0
133
Member Avatar for soft_coder

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.

0
81
Member Avatar for soft_coder

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 …

Member Avatar for soft_coder
0
283
Member Avatar for help_lucky

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 …

Member Avatar for Airshow
0
126

The End.