UnKnown Error
Kara
javascript jquery memory-leaks jquery-animate 2014-1-10 17:04:14
I have used jQuery .animate (Inspiration from how to get a div to randomly move around a page (using jQuery or CSS) ) to animate a number of divs. I have always used javascript, not jQuery as a rule so am a little unsure of my footing here. Hence needing the snippet initially.My code performs exactly as expected but it seems I have a memory leak somewhere, and over time (abut 10 minutes) the browser – (IE, chrome and FF) will accrue about 500MB RAM usage. I cannot fathom why, as there are no que
santa
jquery truncate 2014-1-10 10:19:56
I have a page that is currently utilizing a jQuery plug-in for truncating text string based on a width provided. While the string is truncated and ends with “…” the full string is placed inside TITLE of the element.Normally it works great, however, I noticed a case where a page has too many strings, close to 100, and my page starts crashing, complaining that the script stopped responding.Is there a simpler way to truncate? I’m OK use approximate width, perhaps switching to a character count?I’
user723858
jquery arrays json updating 2014-1-10 5:38:10
I am trying to update a JSON array of data that is being stored in localStorage but it keeps crashing for some reason and I dont know why. Below is the code:this.setToken = function(newToken) {var settingsList = JSON.parse(window.localStorage.getItem(“settings”));var l = settingsList.length;for (var i=0; i < l; i++) {if (settingsList[i].token === “”) {app.showAlert(newToken,”[TOKEN-DEBUG]”);settingsList.[i].token = newToken;break;}}}var settings = [{“token”: “”}];window.localStorage.setItem(“
bsod99
javascript jquery html ajax 2014-1-10 4:00:19
I’ve got a page in a CMS i’m working with where a product is displayed along with a table of attributes. In some cases, the table has so many rows that the amount of HTML being loaded is causing the browser to crash. Without being too comfortable yet about digging into the back end and using AJAX and pagination for the table, is there a way I can cut down on the amount of HTML being loaded at the one time on the client side? Would jquery table/pagination plugins help with this or is the only ans
daveycroqet
php jquery database ajax refresh 2014-1-10 3:43:40
I have written a plugin for WordPress which generates a jQuery.accordion list of content that it pulls from a database. I also have it pulling newer results from the database every 5 seconds via a separate page (update.php) through the jQuery.load method.The problem I’m encountering is that I’m generating the full HTML for the div in the update.php file. It seems like I could just make it query the database and then return the results to the main file, but I’m not sure how to go about doing tha
Giovanny Gutierrez
javascript jquery 2014-1-10 3:43:09
How did they accomplish this? Have you guys seen: http://www.skittles.com? The site never ends!
Alexxus
javascript jquery 2014-1-10 3:17:39
I have a script that reloads an iframe whenever the browser screen is clicked (works perfectly). I was wondering how I would go about disabling the javascript from running on certain links?Here is my current script:document.onclick= function(event) {if (event===tichack) event= window.event;var target= ‘target’ in event? event.target : event.srcElement;document.getElementById(“tichack”).src = “http://link.com?”+(+new Date()); };Example would be something like this i suppose? (obviously incorrect)
user253530
jquery jquery-plugins thickbox 2014-1-10 0:38:11
I use thickbox to load an html. This html has a form that i need to add some stuff to the database. I have a select box in the main html (the one that i load thickbox from). What i want to do is when i press the close button in thickbox, the select box has to be updated with the stuff i just added in the database. I was thinking to modify the thickbox close method and to call my method that updates the select box but thickbox crashes when i do that. Any hint would be greatly appreciated.
lauthiamkok
jquery internet-explorer-8 internet-explorer-7 lightbox 2014-1-9 21:51:22
I wonder if anyone has used this lightbox plugin and encountered a bug on IE < 9 ?It keeps crashing my IE8, and IE7, but it is ok on IE9.Any idea how to fix it?or any other alternatives? I would like to use this lightbox plugin because it allows me to embed videos from youtube and vimeo. Other lightbox plugins which allow me to run videos will be perfect!Thanks.EDIT:Found the bug – jquery-1.6.min.js !!!It works fine now with – https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.jsI
MPelletier
javascript jquery html internet-explorer meta-tags 2014-1-9 20:08:29
I’ve an application written in Java and a webapp associated written essentially with javascript. I was running on IE7 and had no issues. But lately, I upgraded to IE8, and since then I’ve encountered a lot of problems… No matters which versions of jquery i used, it crashes. I don’t have any javascript error messages, but CSS and other methods are not been used… I found here on StackOverflow a guy with a similar problem, he added this to his header : <meta http-equiv=”X-UA-Compatible” cont
srigi
ajax upload file-upload xmlhttprequest header 2014-1-10 9:56:15
I’m working on “multiple ajax uloader”. Works fine in bleeding edge browsers (Chrome 6, Firefox 4). But in Firefox 3.6 I must manualy create output string to be sended, cos this browser doesn’t support FormData object.I followed many tutorial, especialy this. Author notify about correct setup of headers & content of body to be sended. I carefully followed that advises, but Firefox 3.6 fail my efforts.This is correct setup of headers and body (captured by submitting simple static form): corre
bsod99
javascript jquery html ajax 2014-1-10 4:00:19
I’ve got a page in a CMS i’m working with where a product is displayed along with a table of attributes. In some cases, the table has so many rows that the amount of HTML being loaded is causing the browser to crash. Without being too comfortable yet about digging into the back end and using AJAX and pagination for the table, is there a way I can cut down on the amount of HTML being loaded at the one time on the client side? Would jquery table/pagination plugins help with this or is the only ans
daveycroqet
php jquery database ajax refresh 2014-1-10 3:43:40
I have written a plugin for WordPress which generates a jQuery.accordion list of content that it pulls from a database. I also have it pulling newer results from the database every 5 seconds via a separate page (update.php) through the jQuery.load method.The problem I’m encountering is that I’m generating the full HTML for the div in the update.php file. It seems like I could just make it query the database and then return the results to the main file, but I’m not sure how to go about doing tha
Andrew Charlton
javascript ajax json setinterval 2014-1-9 21:16:38
I’ve tried to use setinterval to allow my ajax request to send every 2 seconds but it keeps crashing the page, So I think something is going wrong!Here is my code: var fburl = “http://graph.facebook.com/http://xzenweb.co.uk?callback=?”;//getting facebook api content$.getJSON(fburl, function(data){var name = data[“shares”];var dataString = ‘shares=’+name;//sending share count data to server$.ajax({type: “POST”,url: “index.php”,data: dataString,cache: false,success: function(html){$(“#content”).ht
PPvG
javascript html ajax 2014-1-9 21:01:07
I am having problems with an AJAX function I am working on.The function is supposed to insert some information into a DB. The problem comes when I put the whole AJAX code inside a loop, because it crashes. Here is an example of a code which is similar to what I am doing:function funcionDePrueba() {var url = ‘aaajax.py’var x = 3for (i = 0; i < x; i++) {xmlhttp = GetXmlHttpObject();if (!xmlhttp) {alert(“Browser does not support HTTP Request”);return;}var xml = xmlhttp;xmlhttp.onreadystatechange
Tom
asp.net javascript ajax modal-dialog 2014-1-9 19:01:25
I have a textbox in an Ajax ModalPopUp. Occasionally, whenever the modal is loaded, the textbox freezes in Firefox. It’s not happening in Internet Explorer – just Firefox. Any suggestions?
dplanet
ajax auto-update 2014-1-9 15:51:52
I’m looking to repeat this function every five seconds:function check_votes(id) { $.ajax({type: ‘POST’,url: ‘check_votes.php’,data: ‘checkvotes=’+id,timeout: 0,success: function(data) {window.setTimeout(check_votes(id), 5000);$(‘.vote_count_’+id).show();$(‘.vote_count_’+id).html(“(“+data+” votes so far)”);}});return false;};Why doesn’t this line do the trick:window.setTimeout(check_votes(id), 5000);In fact, it breaks it, so I need to use the following line:window.setTimeout(check_votes, 5000);B
RnD
jquery html ajax slider 2014-1-9 15:29:53
I got a menu div and a content divIf I put the slider (it’s a jquery plugin) in the index.php everything works fine, picture belowBut what I want to do is to put every page’s content on a different file, for example home page should contain this slider with some basic info, so I put it on home.phpNow as I want to load it I do this:$(“#nav_home”).click(function(){$(“#content”).load(‘pages/home.php’); });and here’s the part where it crashes, from the slider above it becomes like this:HTML:<ul i
mac866
jquery ajax internet-explorer 2014-1-9 5:07:21
I’m requesting every second some data over $.ajax.$.ajax({type: “POST”,url: “ServiceEndpointUrl”,data: “”,success: function(result) {… Do Work … } } } } });This code leads into an continuous growing number of handles in IE 8 (Windows 7 / verified with Task Manager & Process Explorer). Firefox & Chrome does not have this problem.This page is displayed all day long – this leads into thousands of handles & will sometimes crash the complete browser.My workaround is to reload the comp
Jango
c# asp.net ajax web-services json 2014-1-9 2:53:54
In regards to my this question, I got this following answer to add this to the web config file. And it also resolved the issue i was facing. But now my question is that is there any kind of security threat? if yes, how severe it could be? what kind of threat it could be? Do you suggest something else here.<configuration><system.web><webServices><protocols><add name=”HttpGet”/><add name=”HttpPost”/></protocols></webServices></system.web> </
user1608463
wordpress 2014-1-10 2:53:05
I’m using wordpress 3.4 and i just register a custom post type and taxonomies for it and its working fine but the problem is sometimes some pages shows blank including front-end and back-end
Andy
javascript wordpress 2014-1-9 18:18:50
I need to create a string dynamically inside a wordpress site page, I am thinking a javascript function that needs to take a number as a parameter and return a string in form ‘[Site User]_[date( yyyy-mm-dd )]. The date would be current date – the number of days given in the parameter.I attempted to add a function into the function.php file, but I ended up crashing the whole website as a result of my efforts. What I need is either a trustworthy (as in semi-secure) plugin to run in page javascript
user850010
mysql wordpress 2014-1-9 15:02:48
Im using latest WP (3.5.1). I have large PHP script from old CMS, its working in WP, but ALL thats after that script gets error:Warning: mysql_error(): 20 is not a valid MySQL-Link resource in/home/klient.dhosting.pl/avatarus/elder-scrolls-online.pl/public_html/wp-includes/wp-db.phpon line 1202In my script I use own mysql database link (not using $wpdb), thats generate crashes, See it for yourselfhttp://elder-scrolls-online.pl/gildie/Any clues how to correct that?
Stack 101
wordpress 2014-1-9 13:51:13
I checked my blog on tablets and netbooks and it looked a bit bad, so I made an extra css and added to header.php in between :<head> <link media=”all and (min-width: 481px) and (max-width: 768px)” type=”text/css” rel=”stylesheet” href=”tablet.css”> </head>But nothing happens. How to add an extra .css to make this work ?Also tried to add this function to themes functions.php, but blog crashes.wp_enqueue_style(‘my-custom-style’, ‘get_bloginfo(‘template_url’) . ‘/css/tablet.css’,f
Jonnny
sql wordpress 2014-1-9 6:31:43
I’m having a problem with a WordPress site. My host says that there are some queries starting with SQL_CALC_FOUND_ROWS that keep locking the database (it’s a nightly thing) and crashing the site. It’s a large database for a real estate company, so the data gets refreshed every day and caching isn’t an option.I’ve researched the problem for over a week and tried every solution I can find, nothing works. I know it’s in wp-includes/query.php and I know that it’s used for pagination, but I don’t
Monika
wordpress post updates 2014-1-9 0:51:28
I have changed the default permalink of my website to Custom permalink (/%post-name%) Now all posts require slug values . which is not present currently.A slug is automatically added when a post is published or updated if slug screen option is unable ,but in my case now i have unable the slug option for all post earlier this was disabled and Now I want to update each post nothing want to add or delete just want to update all posts . Currently number of posts in database is 200000, Please su
tlt2w
php arrays wordpress 2014-1-8 21:04:52
I’m trying to apply a query, in order to display posts from different custom fields (with the same input – $id)When testing the code below, I get the whole website to crash…If I remove the name2 & name3 arrays, it works just fine.Does anyone have a clue where I got stupid this time?Thanks!$example = new WP_Query(array(‘post_type’ => ‘example’,’paged’ => $paged,’posts_per_page’ => ‘-1′,’meta_query’ => array(‘relation’ => ‘OR’,array(‘key’ => ‘name1′,’value’ => $id,’type’
torr
php wordpress rss thesis add-filter 2014-1-8 20:37:58
I am trying to use this function in functions.php to grab the thumbnail of posts and add them to my RSS feed.function featuredtoRSS($content) {global $post;if ( has_post_thumbnail( $post->ID ) ) {$content = ” . get_the_post_thumbnail( $post->ID, ‘thumbnail’, array( ‘style’ => ‘float:left; margin:0 15px 15px 0;’ ) ) . ” . $content;}return $content; }add_filter(‘the_excerpt_rss’, ‘featuredtoRSS’); add_filter(‘the_content_feed’, ‘featuredtoRSS’);Problem is — this crashes my server. I ge
lkrantz
javascript php wordpress tinymce editor 2014-1-8 10:36:31
I have a site running WordPress 3.7.1 and using the “Advanced TinyMCE Config” plugin. I would like to add a custom format that is a wrapper div to the “Formats” dropdown. I looked at the docs for TinyMCE (http://www.tinymce.com/wiki.php/configuration:formats) and it looks like I should be able to do it, but this is currently crashing TinyMCE (it does not initialize).In the Advanced TinyMCE Config plugin, under “Option name” I have formats, and under “Value” I have the following:div_wrap : {wrapp
Maarten Schermer
php jquery wordpress 2014-1-8 6:24:57
I want to .load the php script every 10 seconds. The load code is not a problem, but in WordPress all plugins use their own Jquery libraries, and if I just add the jquery google link:<script src=”//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js” ></script>the other plugins will crash.I have the following code in my footer:<?php if ( is_user_logged_in() ) { include ‘completed.php’; } ?>I want to include a jquery script so I can execute the following code:<?php if (
nba bogdan
silverlight microsoft video-streaming wordpress-plugin 2014-1-3 22:26:47
I’m trying to find a Silverlight player to work in WordPress and also with .isml files ( Smooth Live Streaming ) or .ism files( Smooth Streaming ).The streaming is Microsoft IIS Streaming.I tried this one : http://wordpress.org/extend/plugins/smooth-streaming-player/ , but I can’t set the correct path to the .isml file, if I set it, the player crashes.You can see the example here : http://mundopentecostal.org/?page_id=1900.Do you happen to know any solutions ?I would really appreciate one. Thank
Rick Smith
css widget wordpress-plugin responsive-design 2014-1-3 11:51:04
I am trying to create a customized widget that includes a background image with a text entry form and a button. The wordpress theme I am using is a responsive design built on Twitter Bootstrap. When resizing the browser the form and button are not resizing with the background image. Can anyone help me get this working correctly? You can view the widget at the very bottom of the side bar on the right side of the page on the live site.Thanks.<form style=”-webkit-background-size: cover;-moz-back
Jetoox
php jquery mysql jquery-ui wordpress-plugin 2014-1-2 0:05:14
I’m creating a wordpress plugin where I’m trying to populate an autocomplete textbox using jquery and the source is from the database.jquery script$( “#tags” ).autocomplete({source: “<?php echo WP_PLUGIN_URL.’/plugin-name/php-file.php’?>”});html<div class=”ui-widget”> <label for=”tags”>Tags: </label> <input id=”tags”>phpglobal $wpdb; $code = $wpdb->get_results(“SELECT suburb as label, post_code as codeFROM Sheet1”,ARRAY_A); echo(json_encode($code));but when I r
Honus Wagner
wordpress wordpress-plugin 2013-12-23 23:40:13
When users register and log in to my wordpress site, it seems that users with the .nl (Netherlands) email address (being used as the username) somehow causes none of the plugins to trip.I put some debugging around two of them on a particular page, and although the sidebar initiates and makes room for the plugins, the sidebar contents are empty (both visually and in the DOM).I have tested other email extensions, .com, .net, .ca, .cz, .it, and .au and all of them work normally. But all of my email
mangobug
wordpress version-control wordpress-plugin 2013-12-22 1:25:52
I am working on a CMS using wordpress 3.3.1. With my previous question, in this respect I got a couple of plugins through which I can elevate the rules for my users. For example now my contributor can Make a new post Edit already published postsWhat I cannot achieve is to attain the Publish Mode which is the sole authority of the administrator. When the contributor edits a publish post, the edits take place on the live site. If the contributor saves the post as drafts, the original post is delet
Extelliqent
wordpress wordpress-plugin 2013-12-14 6:25:12
I am using TN3Gallery on my wordpress. As soon as I enable Nivo Slider TN3Gallery stops working. I couldn’t find any solution for this problem. I don’t think wordpress lets you disable specific plugins on a page basis. How can I fix this issue ?TN3Gallery Page; http://goo.gl/UZpza
Dana Bouchard
wordpress wordpress-plugin shopping-cart woocommerce 2013-11-16 11:57:54
Updated WordPress to newest version and lost our Add to Cart Button. I’ve been searching everywhere for a solution and tried the ones I have found. We do not have a backup prior to updating unfortunately : /These are the errors that show in Chrome developer tools browser when on a page with missing button. GET http://lifefarout.com/wp-content/plugins/woocommerce/assets/js/jquery-cookie/jquery.cookie.min.js?ver=1.3.1 406 (Not Acceptable) lifefarout.com:51Uncaught TypeError: Object function (e,t){
Blaine
jquery html css wordpress wordpress-plugin 2013-11-12 16:58:28
So I’m trying to use the Sortable interaction that JQuery has, and it isn’t working. I know that, or at least assume, that the library is being imported correctly because I am able to use draggable.Here is the HTML I’m trying to use: <ul class=”_ts”><li><a class=”new_appt” href=”#”>Open</a></li><li><a class=”new_appt” href=”#”>Open </a></li> </ul>Here is the Javascript:$(“._ts”).sortable(); $(“._ts”).disableSelection(); When I load
Simon
javascript jquery wordpress wordpress-plugin flexslider 2013-11-11 2:57:27
Hello stack overflow, I am trying to implement the flex slider plugin on a wordpress blog, using the one described int his tutorial http://wp.tutsplus.com/tutorials/create-a-responsive-slider-plugin-with-flexslider/, but cant seem to get it to work when using the Reverie wordpress framework, http://themefortress.com/reverie/ . If I change to another theme the plugin works fine. The page concerned can be seen at http://www.naused.co.uk/test-slider-page/In the console i get the error Uncaught Type
Greg
jquery wordpress jquery-ui wordpress-plugin jquery-ui-datepicker 2013-11-10 18:59:53
First, I feel like I’ve read the whole stack of posts in this category about a 100 times. While the title sounds like a duplicate, I really mean I’ve tried all solutions I read to the questions asked around up to the whole concatenate thing with WP 3.5+.My script works great in WP when I reference the actual jquery script & url. I’m reading everywhere this is a terrible way to implement so I’ve been trying to use the built-in WP libraries and no-conflict wrapper. I run WP 3.6 on a barebone l