How to extract content from an iframe
Hi, at the moment i'm trying to develop a Win8-App using only HTML5/JS It works perfectly fine, until i want to extract some text from an iframe, i embedded into my "site"... The code of the iframe: <iframe name="mainframe" id="contentframe" frameborder="0" height="300" src="http://www.combib.de/losungformat/heute.html#0A57C0#FFFFFF#CCCCCC#F5F5F5#000000#Arial,Helvetica,Geneva,Swiss,SunSans-Regular#10pt#20pt#16pt#8pt#10px#10px#10px#24px#left#bold#none#1#0#1#0#x#x#x#x#x#x#x#x#x#1#1#_blank#ue#lb#x#x#x#x"
Regarding Jquery 1.8.2 Version
Hi, Iam using Kendo ui controls in Asp.net Web Application. For loading the kendo ui controls, Iam using Kendo ui script files and also Jquery 1.8.2 minified version script file. But using this, Iam not able to trigger any of the Kendo ui upload events. Iam able to do this with Jquery 1.7.1 minified version script file. Is there any way to resolve this? Thanks and regards, Bhavani Gubbala,
Button tiling
Hi Guys, I am new to jquery mobile so i need help regarding using buttons in jquery mobile. I need to include back button in header like mentioned below also the text 'Home' in center .I need to tile this image .But i dont see anywhere tiling this image.Can you please help on this. Thanks Nikhin
Find a DIV with a certain CSS style using jQuery
Hi Everyone, I have a bunch of DIV's that all have the same class and style except for 1. <div id="0" class="divpage" style="display:none"></div> <div id="1" class="divpage" style="display:none"></div> <div id="2" class="divpage" style="display:none"></div> <div id="3" class="divpage" style="display:none"></div> <div id="4" class="divpage" style="display:block"></div> <div id="5" class="divpage" style="display:none"></div> <div id="6" class="divpage" style="display:none"></div> I need to find out
slideToggle reveals <a> link, don't want it to close when user clicks the link.
I'm a little stumped by this one, I've got a slideToggle setup that works with a "more info" kind of thing on a products page. The problems is, one of the elements slideToggle is revealing contains a link that opens up a video modal box, and when the user clicks on the video modal link, the slideToggle activates and closes the "more info" section. I'd like to keep it so that the user can click anywhere in the productInfoContainer div to open/close the more info section, I just don't want it to close
Pasrsing JSON data for autocomplete
Hi, Referring to the below code, i want to autocomplete on text box with id name with data as the source. For the autocomplete Label should be displayName and value should be uid.After selecting one of the value corresponfing email id should be populated in the emailid text field. I am not able to achieve this.Please help <input type="text" id="name"> <input type="text" id="emailid"> var data={"users":[ {"uid":"123","displayName":"User 123","mail":"123@example.com"}, {"uid":"456","displayName":"User
DatePicker and JSON autocomplete stop working after 5 minutes
Got this from a client. I was wondering if anyone ran into the problem and/or has a fix for it. I'm having a problem where 5 or so minutes of inactivity on the page pass by, the datepicker will appear but don't update the textbox after selecting the date. Also, after 5 minutes of inactivity, the JSON AJAX auto-complete stops showing up. Using IE v8.0.6001.18702
Getting the value for a text string
I have the following HTML table <tr><td align="right"><span class="jqSelector">1234</span></td></tr> <tr><td align="right"><span class="jqSelector">4567</span></td></tr> and separate form <input type="number" id="NumberField"> I want to use something like $(".jqSelector").click(function(){ $("#NumberField").val(this.val()); $("#NumberField").focus(); }); To set the form field to the clicked value and focus the field. As I understand it the .val() won't work here, but will anything else? Can I even
remove img tags from page
Hello, I have a site with articles with links to images that are on a remote server. Sometimes, however, some images are not displayed because the remote server workload or other reasons. I want to make sure that an image can not load the website to remove its HTML tag: <img src="unavailable.jpg"> Here is funny code, deleted all images: $().ready(function() { $("img").load(function() { $(this).remove(); }); }); How do I make that mistake, ie image can't be loaded to delete,
how to check all required fileds have values in jquery on submit
is dere way to check that all the required fields on page are fullfilled Below is my code: plz suggets thnx <div id="StructureView" runat="server" > <h2 class="lblStructureR">Structure</h2> <asp:Label ID="lbl1" runat="server" Text="Surface we are building on ?"></asp:Label> <div class="divOptions"> <asp:RadioButtonList ID="cblOptionsRadio0" runat="server" RepeatDirection="Horizontal">
Dialog rounded corners on top
Yesterday I posted a change in behavior between 1.2.0 and 1.3.0 that inhibits rounded corners on controlgroups.. Today I found a somewhat similar issue with dialogs <div data-role="dialog"> <script> // This script prevents rounded corners on the top // because rounded top corners relies on this selector in structure.css // .ui-corner-all > .ui-header:first-child // why the :first-child pseudo-class ?? // script was placed here because script in head is not eval'd
jQuery plugin: Validation in jquery dialog
godbest Is any possible for jQuery plugin: Validation(http://docs.jquery.com/Plugins/Validation) in jquery dialog?Can any one show with example?
Accessing values from dynamically generated textboxes
Hello, I am dynamically generating textboxes with jQuery which are filled with random numbers. I am not sure how I can access the values from the dynamically generated textboxes so that they can be inserted into a mysql db. The mysql db table would be created to handle the maximum number of possible fields, in this case it would be 60 (max option is 20 x 3 textboxes per set of numbers). Would anyone have any idea how I can access the values of the dynamically generated textboxes so they can be inserted
jquery autocompele
i'm using jquery autocomplete. When focus shifts to anywhere from textbox(on tab press or mouse click), i need to select first matching value from the list of values returned by autocomplete method. for eg: if i typed "ana" and the list contains "Anant" then if i press tab or mouse click to anywhere then that "Anant" should be selected in my textbox. any idea??
idTabs and form input validation
Hi .. I want to validate a form using jQuery (or HTML5 default form validation) .. I use 1 form with 2 tabs .. Imagine, there's a required field on the first tab (which I won't fill) .. Then I switch to the second tab and submit form .. How do I redirect the user to the tab, where the first invalid input is located? If I am on the first tab right now, I can see the 'This field is required' message. But if I am on the second tab, nothing happens (I can't submit the form at all) .. Thank you for your
Problem on jQuery Datepicker
Hi, I'm using jQuery datePicker on two tests-websites, on the first one, datePicker is working properly without any bug, but on the second, dates apprears like that => Février  2013 Dim Lun Mar Mer Jeu Ven Sam      1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28   I don't really know what's happening as i used exactly the same code for both, it add me that unusefull letter =>  everywhere ... does anyone has an idea about what can happening ?
Sliders: how to hide slider, leave only input field?
What can we do about that?
IE NOT WORKING file(0)...
Hi Friends, IE NOT WORKING file(0)... Am using ajsx call file upload IE not working? If any other method code include or solution? var connectorJarFile = document.getElementById("conncetorJar").files[0]; var formdata = new FormData(); formdata.append("conncetorJar", connectorJarFile); var xhr = new XMLHttpRequest(); xhr.open("POST","/fxp/ajax/AdminIlantusAppAddStepOne", true); xhr.send(formdata); }
Popup Div hide in jscrollpane
I am using simple css of show hide div but my last popdiv is not visible ..in my jscrollpane container. Hover on last share link the popdiv is not visible <div class=" scroll-pane"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="product_resulttable"> <tbody> <tr> <td>03 Oct,2012</td> <td>25,500</td> <td>xxx</td> </tr> <tr> <td>03
Can't change/disable Draggable Containment after setting to parent
MAY have actually found a bug here... $(targetObject).draggable({ drag: function (e, ui) { $("#rptSlideLayerEdits_ctl0" + layernum + "_tbXPos").val(theLeft); $("#rptSlideLayerEdits_ctl0" + layernum + "_tbYPos").val(theTop); }, stop: function (e, ui) { saveLayer(currentLayerNumber); }, containment: "parent" });So, this is the code that sets up the draggable. I have a little lock icon, when you click it, it runs this
List of links in jQuery
I would like to have create a list of links for the foot of my site in jQuery. I came up with the following but it does not work: (function( $ ) { $.fn.footpage = function(options) { return this.each(function() { var defaults = {images: [ '<a href="about.html">About</a> -', '<a href="contribute.html">Contribute</a> -', '<a href="contactus.html">Contact Us</a> -', '<a href="emailupdates.html">Email updates</a>
drag drop with mysql database
I'm working on drag and drop and store id number in database, i just finished that and works great but the problem is that is NOT WORKING IN IE 8 or 9. The problem is that in IE is not allow me to drag or move around that the problem that i can't figure out how to solve this, and rest of browser are works fine. here is jquery code <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"></script>
HTML 5 Video Pop (Can Do ?)
HTML5 Video question: If you take the idea of pretty photos, When you run prettyphotos the screen goes translucent, if you want it to of coures and then the photos are shown,,, Can this effect working when playing Video. like You have a poster image of your video, a small thum, and when it is selected the video player pops up, and plays the video with the image of the page behide it, from were it came,, (translucent) may not be the word . Is there any examples of this in action. or
How to use $.ajax to load a local file?
e.g. $.ajax({ url: "../config.json", dataType: "json", success: function(data) { setting(data); } }); function setting(data) { // come codes used the data } when I put the html and script files on the service, they works. However, if I run the html file in local file system, the ajax request does not work in firefox and chrome , but it works in IE. I 've saw the API, in the method "ajax" there has a param "isLocal", BUT IT NEEDS A MAP and it doesn't
Add images with jQuery
I would like to have a jQuery function with a set of images that I call from my HTML file, so if I need to change a image of my set and can do it without having to go to all the HTML files where the code is copied. Let say that I would like to have my site in 2 languages: Spanish and Portuguese and I have the two flags with the links. Then I would have to have this code in every single HTML page in my site. <a href=""><img src="https://lh6.googleusercontent.com/-TVVXgEf-NEw/ULpIJrV50uI/AAAAAAAAB_I/eciCwNvhIwo/s400/bandera%2520espania.jpg"
Jquery plugin or framework
Are there any jquery plugins or framework available for bringing about responsive web design. A website that I create should dynamically detect the device size and orientation and change its display and layout and be responsive. Does jquery support any plugins for this ?
error checking
I have a small form with 6 input boxes. A number is put in each box and totaled in a 7th box. I want to check that a number was entered in each box. If not then report an error. My code works if a non-numeric character is entered in the first box, but not for boxes 2 to 6. This is my jquery code. In the html each textbox has the same name "sum_cc" the total box is "ac". I am using the same name for each input box to sum the values as entered. My understanding was for each box after typing
Styling a jQuery Datepicker control
Hi, Im looking for an easy to implement jQuery DatePicker control for my site, I've found a list of different ones here but none of the designs fit my site, does anyone know which ones would be easy to restyle and how I would go about it?
How to save star rating results form the jQuery star rating plugin, to a JSON file?
Is there a simply way to save ratings to a JSON file?
Inconsistant data using $.when
I don't know if it's just me being incompetent, however using a $.get requests within $.when returns different results than only using $.get but only when there is another promise being returned from an animation. I've tried to illustrate my problem as clearly as possible but I've never used jsbin before either, so fingers crossed. http://jsbin.com/ivoxuz/2/ All the $.when XHR requests returns the document HTML but it's inconsistent with regards to tables. I initially thought there was something
I need help using queue()
Folks, I believe the function I need to use is .queue though am open to alternative suggestions. My attempts to resolve this so far have failed, hence why I am here :) InitData() Contains an ajax call and successfully retrieves data via JSON and stores it locally with .data() I have tested and can confirm the data is read, saved and available. DrawScreen() Draws table #sui and dynamically applies cells, buttons, text boxes. Problem: I got a chicken/egg sort of thing - the data cannot be displayed
Please explain ("a:last")[0]
I'm a jQuery rookie and still trying to find my way here. I came across this piece of code $(this).find("a:last")[0].nextSibling.nodeValue; From what I understand, selector :last will select the last element. In that case, why do we need to specify [0]? Will ("a:last") return more than one element? Please explain the significance of using the array for selection here. Thanks!
Script tags in header need
I've been working within Dreamweaver CS6 to create a Phonegap app. Cleaning up some code lately but need a couple of tips from more experienced users. The problem is when I try and reference the newer jquery script it knocks out my page styles. Also I'm using a mix of jquery and jquerymobile scripts but when I try and delete one or the other my pages don't load correctly either. I think I need both scripts but not sure... <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,
Datepicker Year and Month drop down not working in Pop up page
Hi All, We are using Jquery UI version 1.7.1. We are using Datepicker control in the pop up pages \dialog windows. The month and year drop downs are not working in IE9,Firefox and Google Chrome. The Datepicker control and year,month dropdown's works fine in the base page. The month and year drop downs works in the pop up page (If we make modal :false). We don't want to make modal:false Recent change in environment The Datepicker month and year drop downs used to work in XP machines.
$("#article_wrapper").html(result); is not working in Internet Explorer
I need to display a content on the site. when iam trying to $("#article_wrapper").html(result); method its not working in IE8. i tried with document.getElementByID("article_wrapper") = result; and inner HTMl as well and also i tried with $("#article_wrapper").empty().html(result);but also its not working. Main probem in this implementation is, not able to get much amount of data. Please help me on this... Mozilla and crome its working fine: www.belk.com/AST/Boutiques/Boutiques_Primary/wk24_Collegiate.jsp?cm_sp=PROMO-_-Collegiate_Banner-_-BannerTop_shopCollegiate#
SharePoint calendar control field as Read-Only SharePoint list NewForm
Hi, I'm using the below script to make DateTimeColumn as read only. It's working fine in firefox & not in IE9. Calendar icon onclick is not working in IE for date selection. <script type="text/javascript" src="../../SiteAssets/jquery-1.9.0.js" /> <script> $(document).ready(function () { $('input[title="DateTimeColumn"]').attr("disabled","disabled"); }); </script>
Change Accordion Default First Element Open
Hello, Forum; I'm using one of the Accordion UI widgets and am wanting to change the default setting that the first element in the stack is always open when the page loads. I'd like for all elements to be closed onLoad. Not sure where to find & effect the control for that, though. Any help would be appreciated. Thanks. Cayce
Readonly form in ui tabs
Hello, I'm having trouble with the ui tabs widget. I have 2 tabs, one has a form inside of it. The problem is that the form fields seem to be readonly. I tried preloading the form on the tab and loading it via ajax but either way the form fields are rendered readonly. What can be the cause?
jQuery: include and exclude
Hi guys, I have following task in front of me and I really don't know where should I start. In a HTML form I have two input boxes for urls: [B][U]URL Filter[/U][/B] Include: Exclude: [B][U]The task is as follow:[/U][/B] Include google - will include all the domains with "google" in the url. Exclude "referer" - will exclude all the domains that contains "referer" in the url. Is there any jQuery solution for this? Many thanks
DropDown List Filled With getJSON Data Not Expanding
Greeting all- I have a form with (in part) a text field, which uses jq autocomplete, and a select drop-down list. When a user enters/selects a code in the text field (autocomplete), a getJSON call is made to another script that retrieves data from the db and sends it back to the form. The data is used to populate the drop-down list. This works, in that I seem to get data back, but for some reason the drop-down list is not expanding when I click on it in FireFox. This work great in IE versions
Next Page