Forcing a page refresh - like NO-CACHE
Hi all, So, I have a legacy older site that I have converted to html5 and jquery. when using links from page1.html to page2.html like: <a rel="external" href="page2.html">page2</a> on some pages like page2.html I NEED to make sure to have NO CACHE happening. Problem: nothing this newbie does will force a page refresh for Page2.html I have tried: <meta http-equiv=”Pragma” content=”no-cache”> <meta http-equiv=”Expires” content=”-1″> <meta http-equiv=”CACHE-CONTROL” content=”NO-CACHE”> But they don't
align vertical center
Dear Sir refer following page http://prajaktasoftware.com/igs/photogalleryimage.php?photogalleryid=148 the image frame / border is of equal height. thanks to jquery (jquery is given below) <script type="text/javascript"> $(document).ready(function() { var maxHeight=0; $('.imgholder').each(function() { maxHeight = Math.max(maxHeight, $(this).height()); $(this).css('vertical-align','baseline'); }).height(maxHeight); var maxHeight=0; $('.imagename').each(function() { maxHeight =
Why return value of jQuery function is like array
Hey all... i have a question. i knew that jQuery is object. But if you use write this on your console or firebug (example) jQuery("body") the result is like this Object [body] according Object { 0: body, (othetr properties...)} why ??
dynamically create images only if they exist in the server
hi i want to append dynamically <img> elements only if they exist in the server, this is what i tried to do : https://jsfiddle.net/85thcjfr/ what i expected is to get something like this : <ul> <li><img src'=.../a/1.jpg'></li> . . . <li><img src'=.../a/7.jpg'></li> <ul> <ul> <li><img src'=.../b/1.jpg'></li> . . . <li><img src'=.../b/3.jpg'></li> <ul> thanks a lot for helping
error loading the page
Uncaught SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'file:///G:/jqm/jQ/index.html' cannot be created in a document with origin 'null'. what does this mean?
Change images in div having same class
Dear Sir have black button (JPG or image format) which is used many times on website (image name read.jpg) I had embed this image in DIV class 'readme' <div class='readme'><img src="read.jpg" width="62" height="71" border=0></div> which I want to change to (Image name reade.jpg) which is also in (JPG or image format) I have following link links that decides change if image <ul> <li><a class="language <?php echo ($language_name=='marathi')?'active':'';?>" href="#" id='marathi'>Marathi</a></li>
Display image in div , in case its height is more than width (portrait), show mid part of image
Dear Sir pls refer http://prajaktasoftware.com/advent/productlist.php?productid=173 all images in landscape (height less than width) like http://prajaktasoftware.com/advent/productimagesimages/bigw2111mini-4%20.B-02%20-%20ECONOMY%20SWING%20ONLY%20SEAT%20WITH%20SUNBRELLA%20CLOTH.jpg are properly aligned however the images in portrait (height more than width) like http://prajaktasoftware.com/advent/productimagesimages/bigw2109mini-2.%20A%20-%2001%20-%202%20SIDED%20SWING%20WITH%20SUNBRELLA%20CLOTH.jpg
Emoticon in textarea
On every bottom of a news article I have a textarea so people can post a comment. Underneath this textarea there are some emoticons people can click on and the bbcode is placed in the textarea. This works fine only when someone clicks an emoticon the page scrolls to the top. Does anyone know how to prevent this? $('#emoticonbox a').click(function(){ var smiley = $(this).attr('title'); $('#reactiearea').val($('#reactiearea').val()+" "+smiley+" "); });
How to uppercase for my Array list word only
i've two textarea if user type something first textarea my array list check if this word in array list so uppercase those word else word as it lowercase for eg var arr[]=['CRATE','TABLE','PRIMARY','IDENTITY'] <textarea id="txta" style="width:600px;height:500px"></textarea> <button type="button" value="Sumit" id="btn" >Submit</button> <textarea id="txta1" style="width:600px;height:500px"></textarea> if user type create table info( int id primary key identity(1,1) ) output below as CREATE TABLE info
Click on Submenu not working , so is the menu click on mobile
Dear Sir/Madam I am trying to run http://prajaktasoftware.com/tiltedtulips/index.php# getting following error As guided by JACK, i tried to debug using Developer tool However grtting folloing errors jquery-ui.min.js:9 Uncaught TypeError: Cannot read property 'mozilla' of undefined(anonymous function) @ jquery-ui.min.js:9(anonymous function) @ jquery-ui.min.js:9 cssmenuscript.js:13 Uncaught TypeError: Cannot read property 'left' of undefined(anonymous function) @ cssmenuscript.js:13j @ jquery-1.11.3.min.js:2k.fireWith
need help in jquery auto complete feature
I am new to jquery and javascript. I am trying to develope a text box which will have autocomplete feature displaying data from database. After looking into several solutions over internet and tried them with no success I came over here. I have created a HTML file autocomplete_demo.html as below, <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>autocomplete demo</title> <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> <script
Using .animate with :lt() Selector
Hi all, I have the following working code which is executed onclick: $waste.append($stock .children('.container:lt(3)') .css( 'left', function(i) {return ['0rem', '2rem', '4rem'][i];}) ); It shows 3 div's positioned 0, 2 and 4 rem from a left div border. This all shows up correct. BUT....I don't want these 3 DIVs just to appear on their given location, I want to move them to that location. How to do this? I've tried things like: $waste.append($stock .children('.container:lt(3)') .animate(
How to make photo gallery change position of images when mouse is over image?
Hi, I have a photo gallery. I have a custom scroll. So, the photo gallery is first a small strip that goes up and down only. So, with my custom scroll you can scroll thru the images. The images are small and the div holding them is a small strip rectangle box. What I want to do is when a mouse goes over a image I want to increase it's height and width to make it bigger but will make the div be as big as the webpage. The mouse needs to stay over the image. If it goes out there's a timer which
New to jquery have a question
To have jquery work on each page must the link to the script be palced on each page? or just on the sites index page.
I have win 10 64bit what version of JQ should I download ? (I am new to Jquery)
I have win 10 64bit what version of JQ should I download ? (I am new to Jquery)
<canvas> ??
if you scroll to the contact section of this website HERE , and inspect element on the heading , u'll see stuff like : <cufon class="cufon cufon-canvas" alt="CONTACT " style="width: 297px; height: 70px;"><canvas width="386" height="89" style="width: 386px; height: 89px; top: -11px; left: -15px;"></canvas><cufontext>CONTACT </cufontext></cufon> whats all that for ?
Hide Ipad Cut Copy Paste menu
Hi All, I am developing an application using jQuery. It also supports Ipad - 2. 1) I want to hide (not disable) 'Cut Copy Paste' menu on ipad. 2) How show only numeric IOS keyboard? Thanks in advance. Ketan
Tabs do not seem to work
Tabs do not seem to work. In the tabs page at https://jqueryui.com/tabs/, I copied the source code into an html file, but when I open the file with any of my browsers (Chrome, Firefox, IE) it does not appear as tabs. Instead, it displays as an Unordered List followed by 4 paragraphs (the 3rd tab has 2 paragraphs) Details: On https://jqueryui.com/tabs/, I click "view source". I copy all the source into the clipboard. Then I paste it into Notepad to be sure to remove any non-text data. Then I save
how can i avoid blurred screen
Hi, Please check the flipkart slider of my page http://customerparadise.in/home-page-demo/ , when you click on register then pop will appear and screen'll get blurred . Is there anyone who suggest me what sholud i do to avoid this,
how to to check selected values present in string or not
Hello, I want to check all check box check values are present in string or not. If yes then return true, if not then return false. using jquery. Suggestions are appreciated..!!
How to get a display images from a folder.
Hi. Have been playing w/retrieving and adding content to the DOM. For example get the text from a .text and adding it to divs using .load. I'd like next to retrieve images and add one image per <p> to a div So if they div had three paragraphs the code should add an image each. or simply retrieve each image and list them all in one divs. so far i only managed to do it one at the time $("#ct0").append('<img id="sidbarImg" class="sidebarImg" src="imgs/coding-arts-rwd.jpg" />'); or I'd like to be able
SlideUp - block jumps while animating
Good day. I have slideUp and slideDown animations. Problem is when i start the event, all of my block which have to slideUp from float:left position they go right and after that they go left again and hide. How can i avoid jumping my blocks right while they are animating? Before animate: While animating: Code: $('.close_all').click(function () { $(this).parent().parent().nextAll('.price_content').slideUp(); $('.close_category').attr('src', 'img/upload/arrow1.png'); $(this).parent().parent().nextAll('.category').addClass('closed');
How to get link in variable
One link is defined of "et_pb_more_button et_pb_button et_pb_button_one" class, I want to use this link in my script. Can you please tell me what should i write to extract the link <a href="http://www.facebook.com" class="et_pb_more_button et_pb_button et_pb_button_one">fl</a> <script> var href = ?? </script>
Getting a typeerror whilst trying to create a currency exchange selector
Hi, I'm trying to create a currency exchange selector like the one on the below site: http://www.personalisedgifts.org/ I've written the below jquery which is runs when the currecy drop down is changed and is supposed to loop through and convert all the currencies: $('.currencySelector').change(function() { var currency = self.val(); $( ".curreny" ).each(function( index ) { var total = self.attr('euro-total'); switch(currency) { case 'eur': self.html(total); break; case
Getting undefined with the below code..
Hi, This is my code, I am trying to get the attribute of previous td child from current td input, kindly see the below and suggest me the solution. HTML <html> <head><title>I am a beginner</title></head> <body> <table><thead/><tbody> <td><input name="1sttextbox" type="text" value="10/22/2015" id="1"/></td> <td><input name="2ndtextbox" type="text" value="10/23/2015" id="2"/></td> <td><input name="3rdtextbox" type="text" value="10/21/2015" id="3"/></td> </tr></tbody> </table> </body> </html> Jquery
multiple instance of countdown
Hi, I am new on jQ and still have some problemes to make multiples instances. I have write a countdown in JS, long time ago. <script language="javascript"> date_today = new Date(); date1=date_today.getTime(); date_end_event = new Date(2015,12,20,11,40,00); //yyyy,mm,dd,hh,mm,ss date2=date_end_event.getTime(); remaining = (date2-date1)/1000; remaining_days = Math.floor(remaining/86400); remaining_hours = Math.floor((remaining-(remaining_days*86400))/3600); remaining_minutes = Math.floor(((remaining-(remaining_days*86400))-(remaining_hours*3600))/60);
Can you open the Demo files in Chorme explore?
As download the Demo files form the JqueryMobile homepage, which can not open on my local desktop by Chrome. is there someone know the reasons ?
How to get count in timepicker?
Hello everyone, I'm trying to get the count next to my end time values in timepicker. So if I pick start date and then I pick the interval my end date will be created. I have first part done, my function works fine. Now I'm looking to get number that will increment based on how many values are created in end time. Here is full working code that I have so far: http://jsfiddle.net/20m6b7qz/5/ I create count value and set equal to 0. Then I tried to put count++ inside of my end time but that did not
click event not working in jquery
Hi, in my application there is a div with id pr like this <div> <div id="pr">test</div> </div> on the click event of pr ,a new div will open like this $('#pr').click(function (e) {
e.preventDefault();
$('body').append('<div id="divprofit" style=" position:absolute; background-color:grey; width:300px;height:150px;border:1px solid blue; top: 200px; left: 250px;"><table><tr><td>Enter Admin password</td><td><input type="text" runat='server' id='txtpw'/></td></tr><tr><td><input
Trying to get a time delay between loops in a for loop
This is my content div in my html file: <div class="content"> <img id="img0" src="images/Snow_White.png" /> <img id="img1" src="images/Snow_White.png" /> <img id="img2" src="images/Snow_White.png" /> <img id="img3" src="images/Snow_White.png" /> <img id="img4" src="images/Snow_White.png" /> <img id="img5" src="images/Snow_White.png" /> <img id="img6" src="images/Snow_White.png" /> <img id="img7" src="images/Snow_White.png" /> <img id="img8" src="images/Snow_White.png" /> <img id="img9" src="images/Snow_White.png"
slide show not working on certain pages
Dear Sir its funny to know that slide show is not working in certain web pages http://deafcarrom.org/brochure.php http://deafcarrom.org/chairman.php Its working fine on other pages viz http://deafcarrom.org/join.php http://deafcarrom.org/index.php http://deafcarrom.org/photogallery.php?id=55 etc the script is same I am calling jquery from program inc_header,php which has header , menu and is included in all web pages for this website <script language="javascript" src="stmenu.js"></script> <script
How does $.post work on the data passed to it ?
In jquery a $.post method can be used in the following way: $.post('fileupload.php', { data: result, name: fileName }, function(){ console.log('yeeey'); }); see how the secound parameter is a plain object , and PHP the data can be picked up like so: $data = $_POST['data']; $fileName = $_POST['name']; how can the parameters of a object be read in this fashion ? or is it that $.pos() method internally uses $.param to convert the object literal passed to it in the 2nd parameter to a string ? is
How can I stop a jquery slider?
Hi everyone, I'm trying to customize a blogger template and I'd like to stop the sliders that appear on every post (you can see hee: http://drlivinghome.blogspot.com.es/). I'd like to have a still photo instead. Can you please tell me how to do this? Many thanks
jQuery is not changing the function of my HTML
Hi there, I have made a web page about the default HTML tags as part of some HTML tutorials that I am working on. My page should, when you click next, reveal the next part of text, and when you get to the end of the tutorial, this next link should hide and the one that takes you to the next tutorial show. Attached is my jQuery and HTML code. Thanks The Code: <HTML> <HEAD> <TITLE>Coding Kids HTML Tutorial</TITLE> <link href='https://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
Jquery datatable function which permanently binds a table id to datatable.
Are there any datatable function which permanently binds a table id to jquery datatable? Thank you
Combo Box Menu Tree with Thumb Images
Hi.. I am trying to create a Combox Box, which might be the wrong name. The first links below is an actual Combox Box in html5.. Its a bit boring and can't be edited or thumb images added.. The second link below is my attempt.. Basically, I would like a Tab that expends down, to reveal a bunch of names of Groups or thumbs if I want. Each of these opens up a bunch of Thumb images within Groups.. At the moment my attempt is far too big and ugly.. I just want a single Image Tab.. Perhaps I should draw
Give a solution my problem
Hii I am new to jquery, Actually I am doing a small project, in my project have four check boxes. if user select one checkbox display some data from database and checkbox is unchecked user comes to actual state. if user checks two check boxes and display two checkboxes related data from db. P{lease tel me sol for this prob and give advice or any idea to me for this please. i Thanks in advnce.
Help with simple jquery slider
Hi, So, I have this basic slider which splits values between 0 and 20000. Moving the slider to the extreme left correctly displays 20000 in the left input and 0 in the right input (I want it this way). But taking the slider to the extreme right should display 0 in the left input and 20000 in the right input. Need help correcting this. http://jsfiddle.net/3sdzf0vq/1/ Thank You
How to add username to my button link
Hi, My button name is et_pb_promo_button and i want that when some one clicks on that then link open in new tab and add key=username ..but there is something wrong iin my code. it opens in new tab but doesn't add username <script type="text/javascript"> jQuery(document).ready(function(){ jQuery(".et_pb_promo_button").attr("target","_blank").attr("target","username");}); </script>
Simple Single Image Tab Dropdown...??
Hi.. I am very new to all this stuff.. I am trying to create a simple image dropdown via a tab.. So when the users clicks or mouse over on the tab, an image will drop down.. Can someone please guild me into achieving this... I found what I am trying to achieve at this website link.. https://amgacademy.com/aerial/360-Aerials/ It has a simple tab where text, which I am assuming is a graphic, drops down.. I can create menus but to create a single image dropdown seems to be a lot harder.. Thank you
Next Page