[jQuery] jFrame :)
Hi all, iam using the jFrame Plugin but somehow i need to accsess the jFrames per Flash :/ I couldnt figure out how i should call the API to load a Frame per javascript. maybe someone can possible help me there? =) thanks
[jQuery] Jeditable + if error
Hi there, I've recently discovered jQuery and especially Jeditable. It's very good, only i wonder how on earth can i add an error message if PHP has validated the input and doesn't "agree". (E.g. invalid chars). In the best case i could display a message below the text field or change the CSS of the text field with some explanation of the error. I hope it's kinda clear... Thanks, Frizzle.
[jQuery] Problem with Ajax and Firefox - request status is 0
Hi everyone. I'm having trouble using the $ajax() jQuery function. The same happens to me in three diferent Ajax calls in two different projects. I'll post sample code of one of them, since I can't really find a pattern common to all three (but different than the other Ajax calls in my code that work as expected): function ajaxSendForm() { data = { command: 'save', // a bunch of parameter names and values taken from the form }; $.ajax({ url: "ajaxOrderForm.aspx", type: "POST", dataType: "xml", cache:
How can I send hebrew chars in AJAX forms?
Hello, I'm having a difficults sending hebrew chars in forms using the forms plug in - it's returns xxxxxx (using POST). How can I solve this problem? I've set the charset in both the sending and recieving page to windows-1255. Eyal
[jQuery] Manipulate Element After Being Added to DOM
Hello, I'm working on a form that allows the user to click an "Add an Item" button in order to add another item to their order. When this button is clicked, I have jQuery add another couple of fields to the form, so the user can input the data. Along with the added form fields, a "Remove This Item" button is also added to the DOM. All of this portion works nicely. It's the reverse that I'm having trouble with. What I'm trying to do is to call empty() on the container of the clicked "Remove This
[jQuery] this.parentNode has no properties
Hi, I am creating a number of divs dynamically which are all draggable. The divs can be dropped in two different areas (#editDiv and #deleteDiv). On drop on #deleteDiv I get "this.parentNode has no properties" straight away. On drop on #editDiv it works fine when I drop the first div. If I drop a second div I get "parent has no properties" and "oDrag.helperSize has no properties". Can someone please help me? I have tried to debug with firebug but I just cannot figure out what is wrong. I have uploaded
[jQuery] ie7 document not ready for namespace addition
id like to run this code if ( this.vml_capable ) { document.namespaces.add("v","urn:schemas-microsoft-com:vml"); document.createStyleSheet().addRule("v\\:*", "behavior:url(#default#VML); position:absolute" ); ...etc but i get an error even when running this within $(document).ready(). it does succeed if i use a timeout of a few seconds. is there some element for which i could listen for the load/ready event that would signal its ok to run this code?
[jQuery] RE: Manipulate Element After Being Added to DOM
Okay, in my continued pursuit of finding out what I've done wrong, I hard-coded into the html a block identical to the one that jQuery adds to the DOM via the "Add an Item" link/button. When using this, my "Remove this Item" button/link works perfectly. In addition, I am using the Highlighter plugin to highlight each form "row" as it is focused on. The highlight does not work with the jQuery-added elements. These two items have me quite puzzled, as this seems to be counter-productive behavior.
[jQuery] operation aborted error - please help
Hello, I programmed a site using a fade effect in the image gallery: http://www.tween-id.com/develop/pitsou/EinVeredHouse1.shtml On the FF is works fine but on the IE I sometimes get error Can you help me? The home page of this site is: http://www.tween-id.com/develop/pitsou/index.shtml Go to the "selected projects in the projects menu
[jQuery] datepicker
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.6000.16587" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hello,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I am facing an issue with interface where only version 1.02 of jquery works.</FONT></DIV> <DIV><FONT face=Arial size=2>I managed to
[jQuery] flicker problem with slide
It seems there have been a lot of talk about the flicker problem but i can find the solution in the various discussion for the life of me. I am trying to make a div layer disappear with hide and do a slideDown on the div layer i want in its place. it flickers on both ie7 and ff. thanks
[jQuery] Get free softwares & more log on to ns-ismail.page.tl
Hai friends Log on to http://ns-ismail.page.tl/ to get (download) software's and all other accessories for free in http://ns-ismail.page.tl/ . To get free gift's Log on to http://ns-ismail.page.tl/ and so on. The site consist of many useful material's like Google search, games, and etc. Download Free pictures and wallpaper in http://ns-ismail.page.tl/ . You can earn money through http://ns-ismail.page.tl/ also. Every thing is free in this site. Thanking You!!
[jQuery] Block UI doesn't show at the second click
I really don't understand why the following code doesn't work . I used BlockUI plugin in another page without t any problem but in this page event he simple case does not work the second click. The html code is: <input ID="btn" type="button" value="Button" class="button2" name="div" /> <div id="div" style="display: none; cursor: default; background- color: #ffffdd; border-style: solid; z-index: 300;"> Bla bla bla: <br /> <p style="text-align: center;"> <input class="cancel" id="Button21" type="button"
[jQuery] First posting
I'm not new to the web but the web hasn't been my major preoccupation. Therefore I feel like something of a neophyte, given all the development the web has gone through in recent years. I'm about to launch a new website which will be heavy on text. At the moment I'm assuming I need some code for a horizontal navigation bar with drop down menus, some CSS to make the typography pretty and readable on screen, some code to manage PayPal donations, reader feedback, that sort of thing. At the moment don't
[jQuery] animation queue ?
hi friends, i'm storing the steps of a series of animations in an array, that have to occur one after the others, according to their index order in the array. Example: animArray['section', 'item','object1','object2' ]; i would like to run a function that loops through the array, and for each element in the array, perform the animation, then when the animation is finished, move on to the next element, do its related animation, etc... until the array is finished. Now, how do i make the animation queue
[jQuery] Release: Validation plugin 1.2
Hi, I'm proud to present the 1.2 releaseo of my validation plugin. On the changelog we have: * Added AJAX-captcha validation example (based on http://psyrens.com/captcha/) * Added remember-the-milk-demo (thanks RTM team for the permission!) * Added marketo-demo (thanks Glen Lipka!) * Added support for ajax-validation, see method "remote"; serverside returns JSON, true for valid elements, false or a String for invalid, String is used as message * Added highlight and unhighlight options, by default
[jQuery] Using getJSON...not successful
Hello, I am new to JQuery. I'm trying to get a JSON response back from my django view. However, I guess my data never gets loaded successfully. Does anybody know what I'm doing wrong? <script> $(document).ready(function(){ $("#first").click(function(){ $.getJSON("/mysite/myajax", function(data) { alert("Here"); }); }); }); </script> //// def myajax(request): a = Testimonial.objects.all()[:3] response_dict = {} response_dict.update({'a': a}) return HttpResponse(simplejson.dumps(response_dict), mimetype='application/javascript')
[jQuery] Remove filter property to resolve FadeIn issue
Hi,I'm using FadeIn with transparency and the on IE7 the fonts go fuzzy after fadein completes. Looking at this article: http://mattberseth.com/blog/2007/12/ie7_cleartype_dximagetransform.html it appears that IE7 does not tidy up the FILTER property correctly. I've 'resolved' the problem by removing the style attribute that contains the filter after the fadein completes - which works for my specific case. $(this).removeAttr('style); I'm sure this is a stupid questions, but how can I just remove the
[jQuery] jQuery HTML Modified
I am running a simple script to grab an image name and throw it into a page every 15 seconds. The problem is that when I pass some HTML for an image tag to jQuery to have it inserted, it seems to be modifying it so that it is set to display:none. Is there any way I can fix this? <script type="text/javascript"> function in_banner(image, id){ return('<a href="banners.php?jump=' + id + '"><img src="content/ img/banners/' + image + '">' + "</a>\n"); }; function write_updates(json){ $("#banner_zone_xa").empty();
[jQuery] Site check: sustainablevaluecalculator.com
Hi there, a project of ours, sustainablevaluecalculator.com, is now in public beta. The website introduces a new model for calculating corporate sustainability - so probably less interesting to the general public, but I still hope we've done a good job in making it easy to understand and follow. The site revolves around a calculator you can use to assess a company's performance against a number of benchmarks. The application is built with Zend Framework and jQuery. Make sure to try the guided tour
[jQuery] Eval error with Firefox 3
Just a note: On AJAX calls where the data type is script, I get the following error: EvalError: function eval must be called directly, and not by way of a function of another name This error is triggered from line 501 of jquery 1.2.1 uncompressed. By the way, when an error is thrown, the exception parameter is always undefined for me.
WIERD problem
Does anyone know the solution to this seemingly simple problem? This works fine below: $.ajax({ type: "GET", url: "review_vote.php", data: "review_id=55&feedback=1", success: function(data) { alert("finished"); } }); BUT! once I put review_vote.php in a subdirectory called ajax, the file cannot be loaded... $.ajax({ ... url: "ajax/review_vote.php" ... Anyone know what's going on here? Only thing I can think of is perhaps the forward slash character needs to be escaped, but I
jQuery Modifying HTML Image Tag - Need Help
I am running a simple script to grab an image name and throw it into a page every 15 seconds. The problem is that when I pass some HTML for an image tag to jQuery to have it inserted, it seems to be modifying it so that it is set to display:none. Is there any way I can fix this? <script type="text/javascript"> function in_banner(image, id){ return('<a href="banners.php?jump=' + id + '"><img src="content/ img/banners/' + image + '">' + "</a>\n"); }; function write_updates(json){ $("#banner_zone_xa").empty();
[jQuery] help optimizing code
I'm taking my first steps with jQuery, and have run into a performance problem. I am trying to construct a customized "inline" comment system for a project I am working on, similar to the one used on: http://www.djangobook.com/en/1.0/chapter02/ Before I figure out the server side, I wanted to build a working client side implementation. I have posted a rough draft here: http://www.instantdjango.com/beta/chapter1.html If you view the page source you will see the following javascript: $(document).ready(function(){
[jQuery] jQuery 1.2.2 Rev: 4454 and jquery-nightly.pack throwing errors?
This has got to be some error on my side but in case it isn't, I'm seeing the below errors in FF2.0.0.11 with Firebug 1.05 at http://www.t1shopper.com/voip/ so I'm switching back to jQuery 1.2.1 Rev: 3353 this.setArray is not a function http://www.t1shopper.com/ssi/jquery/jquery.pack.js Line 6 $(document).ready is not a function http://www.t1shopper.com/voip/ Line 25 E(document).triggerHandler is not a function http://www.t1shopper.com/ssi/jquery/jquery.pack.js Line 6 http://code.jquery.com/nightlies/jquery-nightly.pack.js
[jQuery] Callback-return into global variable
Is there any way to put a return from within a callback into a global variable? I'm trying to retrieve JSON-values in one statement, and output them in another statement; and code looks like this: var _json; function load_comments(id, params) { if (typeof id != 'number' && typeof id == 'object' && params == null) { // Only the params were specified. _params = process_params(id); $.getJSON(paths.get_comment, _params, function(data) { _json = data; return _json; }); console.info('1
[jQuery] $.ajax not refreshing content - nothing happening in the callback
Hi all, this is a really strange one. Not sure where I found the example code for this, but it has been working for me without an issue and I have it running multiple times on my site. But for some reason in this one instance it isn't working, and I keep checking everything and it all looks fine to me. This is a part of an ajax form and on submit I want to refresh the selected note area with the content of what was entered. Everything runs fine, no errors, but the content never changes until I refresh
[jQuery] creating a table from an array
My use case is pretty common and surely it is in some tutorial but I cannot find the right place where to look, so let me post here. I would like to generate an HTML table from JSON data coming from a server. I am a very green when it comes to Javascript, so naively I wrote the following code: var a = [["a","b","c"],[1,2,3],[4,5,6]]; // the array will be read from the server in the real app $("#mytable").click(function() { $ (this).append("<table>"); $ (this).append("<thead>"); $ (this).append("<tr>");
[jQuery] Registering 'callbacks' for when jQuery finishes loading.
Would it be possible to have jQuery execute a list of callbacks (held in a global object) once it has finished loading? This would be especially useful when jQuery gets loaded dynamically (e.g. by doing a document.write ). Thanks! Jean-Lou Dupont
[jQuery] Simple accordion
Look here is something interesting http://www.apple.com/iphone/ ( left bottom) I tried to make a script like that., but I have an animating problem. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <script> $(document).ready(function(){ all = $("#all > *"); all.mouseover ( function() { $(".curent").animate({height:'100px'}); $(this).animate({height:'200px'});
[jQuery] Minified download version has a large footprint
jquery-1.2.2.min.js is 51.4 KB Is that right?
[jQuery] Minifying and packing failed because of Windows line endings
Hi, just in case someone else is running into this problem. Whenever I wanted to pack or minify a script of mine I got this error on the console (using ant): js: uncaught JavaScript runtime exception: TypeError: Cannot read property "0.0" from null With the help of Chris Thatcher I found that the following statement wasn't executing as expected: var header = script.match(/\/\*(.|\n)*?\*\//)[0]; It simply didn't match, and I found that this is because for some reason the file I wanted to pack had
[jQuery] JQuery and RapidWeaver
I am looking to implement JQuery toggle into a RW theme. Currently I am using Mootools to do this but I would like to use JQuesry because it seems to cause less conflict with 3rd party plug-ins. Currently here is how I have things set up: 1. In my master "index.html" file I have a line that references the mootools file like so: <script type="text/javascript" src="%pathto(js/mootools.v1.11.js)%"></ script> 2. Then in the body if the html I have : <div id="drop_down"><!-- Start drop_down --> <a
[jQuery] ajax sending back redirect breaks history
I'm wondering whether there is a workaround or something I missed, or should i file a bug. When you make an ajax submit (with the jquery forms plugin), and you set the dataType to 'script', and the server returns window.location.href='some new location'; it successfully redirects, but instead of doing a location change it actually seems to do the equivalent of a window.replace(), because the browser no longer has the previous page in its history. I tested this on windows xp with firefox 2 and IE
[jQuery] jQuery for Designers
Hi all, I recently started a new project called jQuery for Designers (http:// jqueryfordesigners.com) aimed, obviously at designers, but also subtly at jQuery beginners. It's a fortnightly tutorial aimed at different areas of web niftyness that can be done using jQuery. I guess the irony is the design of the blog (straight off the shelf)! - but ignoring that for a moment :-) I'd love to hear your feedback, suggestions or criticisms. Many thanks, Remy Sharp blog ~ http://remysharp.com work ~ http://leftlogic.com
[jQuery] error in ui/apps/gallery_advanced/
when move the slide at right-bottom. Firebug: array has no properties inArray("div", undefined) core.js (line 1111) click(Object type=mousedown target=div.handle)ui.mouse.js (line 70) (no name)()ui.mouse.js (line 57) handle(Object type=mousedown target=div.handle)event.js (line 254) (no name)()event.js (line 52) [Break on this error] for ( var i = 0, length = array.length; i < length; i++ )
[jQuery] re[jQuery] placing TBODYs
I'm going to be replacing the contents of TBODY elements with an ajax call which results in TR elements. Will this: $('#myTbody').load(myUrlAndSelector) reconstruct the table body properly or will I have to manually process the row elements myself along these lines: $.get(myUrl, function(data){ $(data).appendTo('#myTbody'); }); -- View this message in context: http://www.nabble.com/replacing-TBODYs-tp14973659s27240p14973659.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] event problem with include file
hi, I have a webpage (webpage1) with a button. When I clicked this button, another webpage (say webpage2) is include (which contains javascript and html) and a new button appear. If I click this new button, one event is detect (just an alert box). If I click one other time, the alert appear two time ! If I click one other time, the alert appear three time !!! etc... you can test at this url : http://www.minusmaster.com/testjs/ http://www.minusmaster.com/testjs/ Someone can help me to explain what
[jQuery] How do I use a general error message with the Validation plugin?
Hi, I'm using the Validation plugin (http://bassistance.de/jquery-plugins/ jquery-plugin-validation/) but I'm having a little problem that's making me crazy. I've searched a lot and I've read the documentation over and over but I don't know how to do this. I've setup the plugin correctly with my form and everything is working fine, the form is validated correctly. However, for each input, there is a specific error message. I want to get rid of this error message and place a general message saying
[jQuery] Script runs several times
Hi I'm just begun playing with jquery and I think it's great, but I've run into some problems which I think needs to be solved with "Event Bubbling" but I don't really understand how I'm supposed to do! I'm using the jTip plugin on two places, one which is loaded inside a div using: function updateDiv() { $('.container').load("update.php?test=1", function(event) { $('#innerpanel').fadeIn("slow"); if ($(event.target).is('.container')) { $.getScript("jtip.js");
Next Page