Force IE redraw?
So I built some complex ajaxy jquery module on my homepage, with the help of "scrollable" from flowplayer.org. It works fine for me on Chrome, Opera, Firefox ... but of course IE is not playing friendly (regardless of the version, from my testing). Objects are not displaying exactly where they should, some are overlaying each other, and when a click a button some divs just disappear. However, if I resize the IE browser window up and down, the display mostly fixes itself. Then if I click on one of
updated grid from sql server
Hi, My site is based on ASP.NET (C#) with sql server as the data source. My Task: Create a table based on the data source and when data is changed on the data source (sql server) update the client table, but only update the cell with the data the was changed and not all the table – no page refresh. Let’s say that checking for updates happens every 10 seconds. There should be no data manipulation by the client such as insert/update/delete. It’s something like a stock ticker that only updates data
Hello everyone
I am not familiar at all with jQuery ( yet ), so I would need detailed information on how to use the code you' would provide me with. I am looking for a jQuery cross-browser version ( if existent ) of the javascript method resizeTo() since it is not currently supported by Chrome and Opera. I would like my visitors to be able to see my site's homepage change its size to my desired dimensions as the page loads. Your advice is very much appreciated. Marcos Antonios
Code works on one page but not with other code
Ok guys if you look at this page www.runningprofiles.com/members/shout/view.php my code works great.... But when i add it to the rest of the script the code wont work shows here: http://www.runningprofiles.com/members/shout/data/Facebook_Wall_Script.php# Below isview.php (the one that works) and the one added to the code scirpt is the one the does not. view.php <script type="text/javascript" src="http://ajax.googleapis.com/ajax/ libs/jquery/1.3.0/jquery.min.js"></script> <script type="text/javascript">
flash games/files preloader
hello, I'm searching an jquery flash preloader, on google I have found this http://www.istanto.net/jquery/ but this preloader have some problems ... in that 15 seconds, it doesn't load the flash ... you must to wait 15 sec to see the ad, then you wait to load the game ... i need/search a jquery flash preloader, that it show the ad till the game is loaded.(not to set a timer) thanks! Stefan
Show top items (LI's) of UL's
Hello, I have multiple ul with multiple actions on 'button' changes, i.e.: <ul> <li></li> <li></li> <li></li> <li></li> <--this is to be hidden </ul> Show/Hide <ul> <li></li> <li></li> <li></li> <li></li> <--this is to be hidden <li></li> <--this is to be hidden </ul> Show/Hide The UL's are to show top 3 items let's say, and hide the rest. When items are hidden on page load [top 3], the Show button is on. When that is clicked, it shows all LI's for that UL and button/link text
Hello everyone
I am not familiar at all with jQuery ( yet ) so I would need detailed info on how to use the code. I am building my first web site and am looking for an alternative to the Javascript resizeTo() method that is supported by all major browsers ( including Opera and Chrome ). Does jQuery offer that option? I want visitors to be able to see the browser window resize to my desired dimensions as the homepage loads. Your help would be greatly appreciated. Thank you.
brand new at jquery: How to register document level mouse events
I've spent the last few hours trying to make the jump from prototype to jquery. I'm trying to use jQuery's crossbrowser event handling but I can't seem to register the event. I've tried lots of combinations and permutations that I've seen on the web but nothing seems to be working so I must be missing something. $(document).ready(function() { $(document).mousedown(makeDomPath); }); function makeDomPath(e) { alert("foo"); } is the one I've been trying mostly. I've also tried. $("body").mousedown(makeDomPath);
Tuning fade steps
Hi all, We are using fadeTo to implement crossfades on our website, and it works pretty well, but I was wondering if it's possible to specify a lower update rate so that fades are less CPU-intensive (and uglier). Kind regards, Alex
Show dropdown selected value as normal text
Hi, I use jQuery in a sharepoint environment and I have a form with a lookup value(dropdown), I set the selected value of the dropdown from code based on a query string parameter. When I disable the dropdown the value will be ignored when posting the form, currently I hide the dropdown which will save the value on post but will ot show on page. The question is, Can I use jQuery to get the selected value and display this a normal text? wim
dynamic form
Hello, I have written a script that adds rows to a table and creates form fields using Jquery. Some of these form fields are only supposed to allow numeric data. I used in other pages of my site the following piece of code. Those pages are not dynamic though (ie form fields are not added on the fly) and this code works great //all form element of class 'field4 are numeric $(".field4").format({precision: 2,autofix:true}); so my question is how do I attach the above piece of code to a form field
How to validate before submitting form values?
I have a submit button on my form. However, I would like to do validation before submitting. I would submit the form values only if the validation has passed. How can I do that? Can I have an example please. I have the following code: <input type ="text" id="password"/> <input type="text" id="confirmPassword"/><label for="err"></label><input type="submit" value=Save/>
Duplicate event handlers, Loading divs with ajax, $('#div').load()
I'm loading a list of elements into mydiv with ajax, I want them to be selectable so I call the UI plugin selectable after the list has loaded. The list building function produces this: <div id='mydiv'> <ul id='mylist'> .... </ul> </div> <script> $('#mylist').selectable(); </script> My links are of the form: <div onclick=\"$('mydiv').load('list_builder.php?.......')>Show List 1</div> <div onclick=\"$('mydiv').load('list_builder.php?.......')>Show List 2</div> <div onclick=\"$('mydiv').load('list_builder.php?.......')>Show
Increment class name
Hello. I have 30 divs: toggle_container01, toggle_container02, toggle_container03 and so. The main idea is this: when i'm pressing the title (.pull01) the content is sliding up (.toggle_container01). When the content is hidden and i'm pressing the title again, the content is sliding down. This is the same story for all the 30 divs. Also, the div state will be stored inside a cookie (that's implemented already). I tried to add a for and counting the variable from 0 to 30 and increment another variable
first() next() last()
hi, every body. help me why my this code not run???? <html> <head> <style> .box{ background-color : gray ; height : 200px ; width : 500px ; } </style> <script src="js/jquery-latest.js"></script> <script language="javascript"> $(document).ready(function(){ $("#btn1").bind('click',function(){ var $p1=$("#div1 div").first(); $p1.css('color','yellow'); var $p2=$("#div1 div").last(); while($p1 != $p2){ $p1=$p1.nextAll();
Would developing this plugin I'm working on be useful for people?
Im including the specs for the plugin im currently developing and will be glad to get your feedback regarding the project in general as well as additional features or corrections etc etc. All feedback is welcome. Im seriously getting this done in the next few weeks time. thanks! PS: link for the specs page and the progress report is also located here beta.halowebprj.com - specs ------- jquery.haloModal.1.0.js PLUGIN facebook lookalike text/html/gallery/video/ajax content popover plugin Project
Select Box Custom Validation
I have my Select box in following manner, which i cannot change. <select name='box2' id='box2'> <option value="select"> Select </option> <option value='hundread'> hundread </option> <option value='two'> two </option> </select> Now i've to make the validation as required, by keeping class="required" will not help me, coz first element has value as "select". Now is there any way to make validation to not select the 1st element based on selectedIndex. If you may help me by giving custom
Change text inside <script> tag?
I need to change some text inside a script tag when I click a button on my page. Is there a way to change "autoPlay: 200" to "autoPlay: 0" when I click an element id="button1"? The script I want to change is included below: <script type="text/javascript"> $(document).ready(function() { $("#featureCarousel").featureCarousel({ topPadding: 10, sidePadding: 5, autoPlay: 200, counterStyle: 1 });
call a function after tabs.load()
Hi guys, I have this couple of instruction in an ajax structure: $("#jtabs").tabs("load", $("#jtabs").tabs("option", "selected")); createMessageBox(...);I want to see the message created by createMessageBox when the load is complete and not before (as it happens). I also tried to bind the tabsload event and callback createMessageBox but it doesn't work :( Could you help me? Thanks in advance!
make json vs jsonp request, depending on url
So I have a function that is going to get a URL, and have to retrieve json data from that URL. The URL _might_ be same-domain, and might be cross-domain. If it's cross-domain, of course I want to do jsonp complete with the script-tag-to-load and such, but if it's same domain of course I want to do just xhr for efficiency. So I _could_ write all my own logic for this. Write logic to see if the url is cross-domain or not, and then make entirely different $.ajax() calls depending. (I think I need
The checkbox blues/looping listeners
Hi everyone, I have a quandary of sorts here dealing with a list of checkboxes and the hiding/showing of a few divs associated with the checkbox selection. Here's basically what I need to do: Hide the lower div if no checkbox is selected. If any one of the first 6 checkboxes are selected, and NOT any of the remaining 6, then show the div. If at any time during selection one of the remaining 6 checkboxes are selected, then hide the associated div. Note this code doesn't really do much. I'm still trying
Javascript Error in IE7
Hey, I have developed a site, www.wedgiegear.com/dev/ Its working beautifully in FF, Safari, Chrome and IE8 for the most part. In IE7 it gives a JS error and none of the Jquery works. In IE8 everything is great except with the fancybox plugin, when you click the thumbs the larger image comes up but the close, left, right, and black background underneath the caption (if there is one) don't show up. The error i get in IE7 is: Line: 95 Char: 2 Error: Expected identifier, string or number Code: 0 URL:
Is there a plugin that creates a hovering or rocking effect?
I am looking for a plugin that can take an HTML object and make it look like it is hovering in the air. In a way that it is randomly swaying or rocking. Does anyone know of a plugin like that? Thanks!
.draggable() not firing for objects created on the fly
Is there a reason why I am unable to drag objects created after my page is loaded? I doubt it has to do with postbacks as other functions including jquery fades run normally even after postbacks except for my drag functionality. help!
Fading in table cells
Hello! I have a button which will add a row into a certain spot into a table. I accomplish this with the following code (no problem here): $('#tbody1 > tr:last').before(rowHTML);This works in both IE and Firefox. However, I would like to have the row fade in. Since IE will not allow you to perform this on a table row, I've tried to perform this task on all of the cells within the row. To do this, I've tried the following code, immediately after the preceding line: $('#tbody1 > tr:nth-last-child(2)
Menu action not clearing screen display
ok, I have no more hair to pull out. My scalp is sore. So I thought I would ask the experts.... I have a menu (structured in the old fashion UL/LI fashion) that is being controlled by jquery. Initial item selection operates as advertised. But when a "user" selects another menu item, the screen (div) does not reinitalize and react to the click of the new item. Here is my online site that I am working on. In my menu, only the Chemical and Small Arms items are programmed. Here is the code that
[SOLVED] IS THIS POSSIBLE WITH JQUERY???
Hi All, Im trying to make the VALUE element within a form dynamic using JQuery and was wondering if the following is possible and if not what is the way to achive this? <select name="select1" id="select1" size="1"> <option value="item_1">Item 1</option> <option value="item_2">Item 2</option> </select> <input type="hidden" name="select1_value" id="select1_value" value="<script>$(document).ready(function(){$(this).text($('#select1').val());});</script>" /> Thanks in advance!!
JQuery on a .tpl file
Hi ... i can't make jquery works on a .tpl file I can't access to the .php file .... so i need put the code on a .tpl file Please i need help with this ... thx
Dialog Widget
I am attempting to use the Dialog widget in VS2008 utilizing a masterpage and a child form that needs to call the dialog box to appear on a asp button click event and close after processing a call to a .dll that generates a report. Anyone know how to configure?
suppressing automatic GET in response to 303 HTTP status
It appears jQuery.ajax automatically performs a GET when receiving a 303 response with a Location header: jQuery.ajax({ url: "/login", // returns 303 with Location: /home type: "POST", data: { username: "foo", password: "bar" }, success: function() { console.log("foo", this, arguments); }, error: function() { console.log("bar", this, arguments); }, complete: function() { console.log("baz", this, arguments); } }); This will result in a GET to /home after
Comparing before and after images with sliding rollover...
Trying to recreate the following image rollover effect with jQuery http://www.saschafromeyer.com/index_associates.php I assume I can do this in a similar way to the various loupe scripts out there. Any suggestion on how to get started would be cool....
jcarosuel too slow
Hi my j carousel running too slow in my site, in my carousel setting , i configured VISIBLE AS 1 and scroll as 1 , But when the page load is show one item only , when i navigate the next, then it show next item fine , Like that 2click and 3click , When i click the 4th time the item display is different somthing like fadein fadeout manner, How make it uniformly, This is my URL , Tell me my url
Combine jQuery Accordion Menu with Superfish Menu
Hi, I am trying to combine Accordion Menu with Superfish Menu but have some Problems with CSS. Could somebody help me please? Here is the Link http://hedefavrupa.com/test/deneme.html Maybe there is a ready script like this?! regards
What is the jQuery equivalent to mootools getElement
For example: $(".imageDiv").hover(function(){ $(this).getElement('.commentsBtn').fadeIn(); })
Anyone know a solution to this pop up menu?
Hey guys! So I am working on a website, and right now I have a pop up menu appearing using jquery. I was hoping to find someone familiar with this script / feature , because I am trying to figure out how to prevent the menu boxes from appearing anywhere on the page. How can I set a fixed position for each of the menus to slide up onto, so that the site looks cleaner and more organized? www.teensforachange.com is the website thanks so much! sam
Infinite loop inside jQuery(string).text()
The following sentence makes jQuery hang up: $(":( We'll this activated :D").text()
making jquery cookies persistent
Hi, I'm trying to use jquery to do some things. It works well, but I can't seem to get it to set a cookie that doesn't expire when I end the browser session. The books and examples say this should work: function CheckPW(){ var PWDiv = document.getElementById("PWDiv"); var Uname = document.getElementById("UserName"); var Pword = document.getElementById("PassWord"); var MyUser=Uname.value; var MyUN=Uname.value;
document.ready() OR window.load() with Ajax blocking page load
I have a webpage in Oracle Apex for which I use AJAX to load dynamic text. The webpage has some flash based charts which display as soon as the page loads. These charts load xml from oracle on the fly and display chart data. After using document.ready or window.load in the head section of the page to place this text in a SPAN tag, the page seems to hang until and remains blank until all the chart data is loaded and then the whole page gets displayed. I would rather have the span tag load last
Re: Drag from Iframe to drop into main parent div
Dear All, Anyone can help me, i have iframe which i want to drag over outside of iframe & drop into a div at parent page. Anyone can help me?? Below is just a little of my skeleton code Red area drag & drop into Blue area. cart.php (inside iframe - src) ------------------------------------------- <div class="top-container-border"></div> <div class="content-area"> <div class="content drag-desired"> <?php $result = mssql_query("SELECT * FROM
Moving from jQuery 1.4.1 to jQuery 1.4.2 causes an IE exception
When we switched from jQuery 1.4.1 to the new version, one of our forms started throwing an exception on all versions of IE. The error details are below. The form in question has an 'onsubmit' handler that causes a two-phase submit. You can see what it does by going to http://www.glassdoor.com/Salaries/index.htm and typing 'fargo' in the 'location' field in the top green search bar. This causes a location disambiguation to occur, and if there are multiple choices, a popup appears. Clicking on
Next Page