2,530 Topics

Member Avatar for
Member Avatar for ziyaddinsadigov

I want to handle 404 error if script can't load some resouce after document is ready. Here is code: (function( $ ){ $.fn.onair=function(){ var tid = setInterval( function () { if ( document.readyState !== 'complete' ){ return; alert("salam") } else if(document.readyState=='complete'){ if (document.onerror){ //ajax $.ajax({ statusCode: { 404: function() { …

Member Avatar for Taywin
0
503
Member Avatar for koveras vehcna

I have a heat map application on OpenLayers (using XAMPP 1.8.0 and MySQL) where user enters two date and time intervals and selects whether he/she would like to view all the data between those two datetimes or view them based on hourly/daily/weekly/monthly intervals. However, when I type in two date …

Member Avatar for koveras vehcna
0
333
Member Avatar for ceinoris

Hello i can not figure out how to take images from my database to jQuery gallery. User uploaded images in the data base. Images are sorted by date. And how I can do, what all imges goe's in the jQuery gallery, besause now i can get all imges in one …

Member Avatar for AleMonteiro
0
277
Member Avatar for <M/>

I wrote the code for a jquery slider... it doesn't seem to work... can someone tell me why it doesn't work??? Could it be because jquery is installed wrong or it can't find it? Here is my code (I did this all in 1 file) <title>Slider</title> </head> <script src="jquery-1.7.2.js" type="text/javascript"></script> …

Member Avatar for JorgeM
0
162
Member Avatar for onsixam

i'm trying to animate a carousel with the roundabout plugin ,i want it exactly achieve this in the image below. http://www.hostingpics.net/viewer.php?id=316314cleansleekwebdesign.jpg unfortunately , the rendering that i get is different (click on the link below). http://onsixam.cfun.fr/roundabout.html i need to change the li dimensions (width and height ) and positions dynamically …

Member Avatar for onsixam
0
156
Member Avatar for <M/>

I was creating a jQuery slider and I can't get the slider to even work... Can someone help me out with this question? Much appreciated if anyone can help!... Here is my code: HTML: <div id="slider img"> <div id="slideshow"> <div> <img src="img1.png"> </div> <div> <img src="img2.png"> </div> <div> <img src="img3.png"> …

Member Avatar for <M/>
0
170
Member Avatar for phanisk

I have a php web service returning json data. My problem is that when i call the json data from url returns nothing but when a call a local file with exactly the same data (copy from the url) works fine. The json data i receive are for example {"ResponseData":[{"Code":"91010001","Description":"ISADORA …

Member Avatar for ko ko
0
285
Member Avatar for SBA-CDeCinko

We are currently running a modified version of jShowOff, a jQuery slider. It has never been modified since it was created back in 2009 and lacks a few features we need. I have been searching the latest crop of sliders and haven't found one with the features we need. It …

Member Avatar for pritaeas
0
232
Member Avatar for arcticM

I want to put my html in a php variable and use this variable in the .html() but it doesn't work as I expect it to..how can I do something like that? $var="<p>test</p>"; //this works $return['script'] = "jQuery('#form_pop_out').html('<p>test</p>');" //those don't work $return['script'] = "jQuery('#form_pop_out').html('$var');" $return['script'] = "jQuery('#form_pop_out').html('{$var}');" $return['script'] = "jQuery('#form_pop_out').html('".$var."');"

Member Avatar for arcticM
0
123
Member Avatar for dschuett

I have a problem whith my .change() function firing twice on my onClick. First of all, I know jquery has a .click function, but since my table (results) are bing displayed/pulled in dynamically from an $.ajax call I don't know of a way to bind .click since the content doesn't …

Member Avatar for AleMonteiro
0
2K
Member Avatar for rayidi

Dear All, I'm struglling with one small prblm with my code. // Charecter count $(document).ready(function (){ $('#msgbx').click(function(){ var charLength = $(this).val().length; $('#charcount').html(charLength + ' of 250 characters used'); // Alerts when 250 characters is reached if($(this).val().length > 250){ $('#charcount').html('<strong>You may only have up to 250 characters.</strong>'); }); }); Please help …

Member Avatar for iamthwee
0
183
Member Avatar for aldm

Hi, I'm working on rails project where I use json file for storing some data. Basically data are stored and get using ajax calls from jquery. But there are some strange issues. For example, when I add data in json file using AJAX and then open file in Chrome: localhost:3000/example.json …

0
130
Member Avatar for VenusCrystal

Hi, I have a table with one column which contains icons. On hover over icon I am showing/hiding a dialog box or a page. The problem is sometimes dialog boxes dont go away. Any suggestion how to deal with this? Thanks, VC

Member Avatar for iamthwee
0
92
Member Avatar for jwelsh

**The problem:** Our "thankyou" page (goal page) is not recording all of our conversions. For instance, our analytics account is showing 19 conversions for yesterday, but we actually had 34 conversions. **The situation and the Code:** Our thankyou page is being called dynamically from the checkout page through a jquery/ajax …

Member Avatar for Taywin
0
397
Member Avatar for Travus

I am using the [jQuery validation](http://docs.jquery.com/Plugins/Validation) plug in on a website I am creating. The validation works, and the messages are set, however when they get displayed on my webpage they have line breaks. I only display one message at a time so I dont know why a single message …

Member Avatar for Travus
0
1K
Member Avatar for VenusCrystal

Hi, I have multiple divs inside a div. I am using jquery event.ctrlKey to select inner divs on ctrl click. It is working, but there is one problem. When I click on inner div elements, it selects parent div also(it gives blue border showing as selected for parent div). When …

Member Avatar for VenusCrystal
0
87
Member Avatar for tapuwa2002

I made page with a jquery plugin and a css dropdown menu. I had to z-index the rotator so that the menu drop down could go over it. but now the plugin nav buttons are not clicking please help guys. Been going round in circles. scratch scratch

Member Avatar for ansaripk
0
119
Member Avatar for James456

Hello I have a quick question. I can launch javascript code like this through arrays: arrayLinks[13]="javascript:LaunchKeyboard()"; ** but how do I launch jQuery code through an array?** arrayLinks[8]="??????????????";` My jquery code is $(function() { var ele = $('#div1'); var speed = 25, scroll = 5, scrolling; $('#scroll-down').mousedown(function() { etc } …

Member Avatar for Airshow
0
136
Member Avatar for jayreis

I am trying to setup what would be a tabbed order form witch would also contain a jquery image upload and preview function. However what is happeing is if I just have the jquery code for the tabbed content function the file works but when I add the jquery code …

Member Avatar for jayreis
0
145
Member Avatar for Violet_82

Hi peeps, I wonder if you can help me at all undertanding this code. Unfortunately I don't have it live anywhere, it is something I have seen somebody working on Here's the code and I will explain breifly what it does and what's not clear (which needless to say is …

Member Avatar for Violet_82
0
101
Member Avatar for kb5220

###Hello Developer,### I started with a small projeckt and now i come to a small problem. Where i need to use Ajax/Jquery. And since i dont have the most experience with Jquery / Ajax, Would I like to ask for help. ###The problem:### I have some search criteria as **Category, …

Member Avatar for lambing
0
107
Member Avatar for Danny159

Hi! I have the following table: <table width="63%" border="0" align="right" cellpadding="0" cellspacing="0" class="findUsResults"> <tr> <th align="left">Company</th> <th align="left">Location</th> <th align="left">Products offered</th> <th align="left">Distance</th> </tr> <tr> <td rel='1'>Company Ltd</td> <td>Town</td> <td><a href="/stockists/ajax.php?id=3" class="various fancybox.ajax">Click to view</a></td> <td>0.9 mil</td> </tr> <tr> <td rel='2'>Company Ltd</td> <td>Town</td> <td><a href="/stockists/ajax.php?id=5" class="various fancybox.ajax">Click to view</a></td> <td>11.56 …

Member Avatar for Danny159
0
179
Member Avatar for divyakrishnan

Hi, I have used the following code to load data from a php page using AJAX with JQuery.The script running well in all browsers except Firefox. The script I used is as follows. test_ajax.php <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title></head> <body> <script type="text/javascript" src="jquery-1.3.1.min.js"></script> <script type="text/javascript"> function …

Member Avatar for asaretitilope
0
242
Member Avatar for vuquanghoang

I have created pages to comping some content and adding it into db. Here they are composing.php <html> <head> <title>Composing news</title> <script type="text/javascript" src="includes/jquery/jquery.min.js" ></script> <script type="text/javascript"> function reset_form() { document.getElementById("title").reset(); } </script> <script type="text/javascript"> $(document).ready(function(e) { // ready method make funtion available after the document has been loaded $("#submit").click(function(){ …

Member Avatar for dpste
0
4K
Member Avatar for extjac

Hello, i am working on PHP and jQuery trying to do a post with jquery. It seems to work in FF but IE is giving me several error: The follwing is the code i am using: <script> $(function() { $("#mainForm").submit(function() { dataString = $("#mainForm").serialize(); $.ajax({ type : "POST", url : …

Member Avatar for MarPlo
0
322
Member Avatar for vuyiswamb

Good Day Guys This is an MVC , JQuery, KNockout.js Question. i have a Controller Action that is being Defined like this [HttpGet] public JsonResult SearchCars(string searchString) { string[] searchTerms = (searchString).ToUpper().Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries); string[] searchTermSounds = new string[searchTerms.Length]; var list = (from r in Cache.CarSearchItems …

Member Avatar for stbuchok
0
256
Member Avatar for rotten69

Hi everyone, I'm using jquery in this piece of script and also trying to call the functions. But, they aren't working at ALL and the firefug is saying that there is an error in the script. The error is [QUOTE]missing ) in parenthetical [Break On This Error] $.post('ajax/like_add.php', (article_id:article_id), function(data){ …

Member Avatar for lambing
0
200
Member Avatar for vijayram

Hi everybody, i have problem in image resizable and draging. what is the problem in my code. plz help me. var c; var crop_api; $(document).ready(function(){ var uploader = new qq.FileUploader({ //var list=document.getElementById('fileList'); element: document.getElementById('upload_button'), // element: $('#upload_button'), action: upload_url, // action: "http://localhost/public_html/web/meetnewpeople/upload" , params: { meetnewpeopleid: 1 }, allowedExtensions: ['jpg','webm','png','gif'], …

0
68
Member Avatar for Violet_82

Hi peeps, I was thinking to develop something similar to this http://www.toyota.co.uk/cgi-bin/toyota/bv/generic_editorial.jsp?navRoot=toyota_1024_root&noLeftMenu=true&edname=See-the-range&zone=Zone+See+the+Range&id=SeeTheRange_Link It is in flash now, and I would like to have something similar in jquery, what would be the best way to proceed do you think? Any advice? thank you

Member Avatar for Violet_82
0
635
Member Avatar for azegurb

Hi All, I have code that dynamically retrieves data with jquery AJAX. when i want to insert data into database via PHP **$_POST** method it cannot grab `select tag` (option) value in Mozilla and Chrome. But it works perfectly in IE. Below is my code. <?php if($_GET['func'] == "drop_1" && …

Member Avatar for Biiim
0
183

The End.