3,446 Topics
![]() | |
Hello, I'm really new to HTML/jquery so having some issues with submitting a form to jQuery and showing the results in a div. What I want -> Text box: Fill in text Button: Submit text as POST data with longurl=<text>, and display the result in a div (#shorturl) I have … | |
Hi I am migrating code from javascript to jquery. What would be the equivalent jquery of the following javascript. document.getElementById("#elementname").getElementsByTagName('tagname'); Cheers. | |
Hi Im new to JQuery and sorry if this question sounds silly. my question is what is the difference between $.ajax and $.post and which is best if I am posting some form to a php and retriving some values on the same page as the form e.g. contact us … | |
Hi All, I'm new to this jquery and i found some article, implemented but its server side method is not firing. Plz if you know help out this probelm. These is the code implemented in my application in jquery side. [CODE]<script type="text/javascript" ></script> <script language="javascript"> $(document).ready(function() { $("#btnClick").click(function() { var … | |
The HTML: <!DOCTYPE HTML> <head> <link rel="stylesheet" type="text/css" href="/Users/Alireza/Desktop/Index.css" /> <script src="http://www.ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script> <script type="text/javascript" src="/Users/Alireza/Desktop/Index.js"></script> </head> <body> <div></div> </body> The CSS: div{ height: 100px; width: 100px; background-color: red; border: 4px dashed #00FF00; } The jQuery: $(document).ready(function(){ $('div').click(function(){ $('div').effect('explode'); }) }) Please help me. I really don't know why it isn't … | |
Hi There, I have written a very simple notice board page, for displaying information to the team where I work. I want to have an admin.html page where I can enter details in fields and select from drop downs, then hit submit and it populates a page called "notice.html" is … | |
Hello I am trying to parse a .json file.. it only has 1 set of data I don't think the $.each is the best approach but it's all I can find.... Here is my code: <script type="text/javascript"> function getQueryVariable(variable) { var query = window.location.search.substring(1); var vars = query.split("&"); for (var … | |
Hi, I have this bit of php returning the response, just for testing : header('Content-type: application/json'); $response = array(); $response["status"] = "ok"; echo json_encode( $response ); 1) Is this a wrong way to send a json encoded string back via jquery ajax? 2) I get NOTHING, No response from this … | |
I have a script which is a simple HTML/JS contact form. The site is based on Joomla. Specifically, one of the YooTheme Templates. It is also running WidgetKit. I have had issues before which have been solved on here which were to do with my script including JS and WidgetKit … ![]() | |
I tried lots of Poll scripts but one of was good one. I need Poll script with Jquery, AJAX and Admin so that I will intergrate my website. | |
i'm trying to append a bool variable zoom. zoom is set to true once the btnview is clicked. i did something but it's not working. can someone put me on the right path here. <a id="btnview" class="btnview" data-href="<%=HttpContext.Current.Request.QueryString.Add("zoom",true) %>" style="margin:60px 0 0 0;">zoom</a> some how it is not setting the … | |
hi i want to create realestate search form. but i don't know how to do it . please help me. for example visit below site [Click Here](http://www.lankaland.lk/) | |
Dear friends, I am interested in creating a tree structure like the image attacched using jquery and json data. datasets: [{'name':'xxx', position:'left','parent': 0}, {'name':'yyy', position:'left','parent': 1}, {'name':'yyy', position:'middle','parent': 1}, {'name':'yyy', position:'right','parent': 1}, {'name':'yyy', position:'left','parent': 2}, {'name':'yyy', position:'right','parent': 2}, {'name':'yyy', position:'left','parent': 3}] Where, name - specifies name of the node parent … ![]() | |
Is there a way to make a bottom toolbar slider like on this site: http://www.complex.com/ look at the bottom bar and click the arrows and it slide is there a way to do that? | |
Hi all, bellow i m writing the code snippet which gives the error as Microsoft JScript runtime error: Object doesn't support this property or method, what to do.I m trying for jqgrid in asp.net with MVC without creating Helper. [CODE]<script type="text/javascript"> jQuery(document).ready(function() { jQuery("#list").jqGrid({ url:'/jqGrid/GridData/', datatype: 'json', mtype: 'GET', colNames: … | |
I am using a script on a page due to which the style of dropdown , checkbox and textbox is applied on them, but if i put dropdown or any other tool inside the updatepanel than only when the page gets load script is shown to that tool but whenever … | |
I have a page with a list of users. Every time i click on a username a div will be loaded via ajax, and this div will contain the user details plus another ajax link that will be used to display a floating div that will contain a form to … | |
Hey guys, I've been tearing my hair out for some time trying to figure out why my jquery has suddenly stopped working. The jquery script that I have written is fairly simple: $(document).ready(function () { $("#pTab").addClass("active"); $("#pBtn").click(function () { $("#pTab").addClass("active"); $("#gTab").removeClass("active"); }); $("#gBtn").click(function () { $("#gTab").addClass("active"); $("#pTab").removeClass("active"); }); }); I … | |
I have a online photo gallery and when you hover over a image an edit button appears that opens up a jquery prompt box in which you enter the caption after this has been entered i have the following code var caption=prompt("Please enter new caption"," "); if (caption!=null) { var … | |
<html> <head> <script type="text/javascript" src="js/jquery-1.4.3.min.js"></script> <script>$('.countryclassinfolink').click(function(event) { event.preventDefault(); var detailinfo = $(this).parent().next().html(); $('#country_details').html(detailinfo); $('.countryclassinfolink2').click(function(event) { event.preventDefault(); $('#country_details').html(''); $('#country_details').hide(); $('#country_seminars').fadeIn(); }); $('#country_seminars').hide(); $('#country_details').fadeIn(); }); </script> </head><body> <div class="section seminars"> <h2><span>USA Seminars</span></h2> <div id="country_seminars" class="body"> <table> <tbody> <tr> <td class="practioners"><p> <span class="date">06/10/2013</span> Niskayuna, NY<br> <a class="countryclassinfolink" href="#">Advanced DNA</a> </p> <div style="display:none;" id="classdetails26436"> … | |
I have a webpage in ASP, that scraps the content from another website using: Set http = Server.CreateObject("MSXML2.ServerXMLHTTP.3.0") http.open "GET", "http://www.thesite.com/thepage.aspx", true http.send getURL=http.responsetext I then examine the content of "getURL" for certain text.... The problem is, that website has changed from static HTML, to using jQuery - which probably … ![]() | |
Dear sir or madam, I am Joshi Thomas, currently working as a system analyst with INSEAD Business School, Singapore. I have 8 years of work experience in developing and implementing Content Management Systems (CMS), Engineering Procurement Commissioning business systems (EPC), Commercial web applications, multilingual sites and SEO enabled websites using … | |
I'm not much of a javascript developer right now, as I just recently found the need to learn it. I'm using jQuery, and Javascript (sometimes stupidly, like when I find out jQuery already "abstracted out" something I wrote a 20 line function for). My question is about style though, with … | |
hi first time posting here but have learned a lot from this site my problem is my script display html tags here is what dispalys when i run my script  and my code as follows </div> <div> <button type="button" name="getdata" id="getdata">Get Data</button> </div> <div id="result_table"></div> <script type="text/javascript" language="javascript" … | |
Hi all I am trying to add a class selected to click area and a remove class in the hide area for the below jquery/javascript. Not really undstanding how it's added. Thanks in advaance D <script type="text/javascript"> $(document).ready(function(){ $('.partner_image').click(function() { var id =$(this).class('selected'); var id = $(this).attr('id'); id = id.replace('partner_',''); … | |
I am working with JQuery Validation plugin and am having trouble validating the form. The following is a live version of my form: http://demcode.3eeweb.com/ The following is the code for my index.php file: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> <head> <title>DemCodeLines</title> <meta http-equiv="Content-Type" content="text/html; … | |
I am brand new to web development just moved over from the database side and I am having a bear of a time trying to remove clusters in google maps. I've probably spent roughly 12 hours trying to research what is going on. Attached is my code all help is … ![]() | |
Hello, 1. Selecting date is working fine. 2. When I select a date, I want another link to come up. For example, If I select September 2020, I want to see page1.html, If I select September 2019, I want to see page2.html. It is not working. Please help. <!DOCTYPE html … ![]() | |
Hi, I am creating a website using a predesigned template. There is some javascript that enables the user to zoom in on an image. I dont know javascript, and I want to know how to disable the zoom for some images. This is the link to my site:[http://www.suavedesign.net/works.html](http://www.suavedesign.net/works.html) Please go … ![]() | |
I am developing a site with Codeigniter 2.1.3 I am using HMVC to create ion_auth modules. I am trying to separate my frontend and backend login system. I created two modules for ion_auth: application/modules/auth - for the frontend application/modules/admin - for the backend Both have the same files, except the … | |
<label class='colwidth' for='selectc' >Select Courses*: </label> <form action="send.php" name="course" id="states"method="post"> <Select name="States" id="State" style="width:40px;" > <option value=></option> <option value="1">HTML 5</option> <option value="2">JQuery</option> <option value="android">American Samoa</option> <option value="flash">Flash</option> <option value="flex">Flex</option> <option value="javascript">Javascript</option> </Select> <input type='submit' name='course' value='Submit' /> </form> And my php file is this <?php //Place state array at the … | |
I am a newbie at jQuery. I have a page with both a jQuery datepicker and jQuery tabs. I have changed the default settings of jQuery tabs CSS by overriding certain properties in a separate CSS file. The tabs are placed in a div (with an id = "ClassTabs") and … ![]() | |
Hello, I have the following RSS feed: [RSS Feed](http://rss.nuvini.com/list/feed2js/feed2js.php?src=http%3A%2F%2Frss.nuvini.com%2Fpublic.php%3Fop%3Drss%26id%3D-1027%26key%3D19a8dbb063bf0c30d5e74c5fb619f33255a027db&num=15&tz=+2&targ=y&utf=y) I load this feed like this: file: rss2.php <head> <link rel="stylesheet" type="text/css" href="rss.css" media="screen" /> </head> <body style="margin: 0px;"> <div id="RSS_Feed"> <script language="JavaScript" src="http://rss.nuvini.com/list/feed2js/feed2js.php?src=http%3A%2F%2Frss.nuvini.com%2Fpublic.php%3Fop%3Drss%26id%3D-1027%26key%3D19a8dbb063bf0c30d5e74c5fb619f33255a027db&num=15&tz=+2&targ=y&utf=y" charset="UTF-8" type="text/javascript"></script> </div> </body> Now what I want to do, is automatically refresh this page. I tried … | |
Hi all I am trying to resolve an issue when I select an expanding div, the first div selection pushes the second div element to the right. is there css fix or other to get this not to push div element to the right Thanks in advance D <!DOCTYPE html … | |
for class countryclassinfolink: `$(".classcard").fadeOut("slow");` is working `$(".classdetails").fadein("slow");`is not working <html> <head> <style> .section { background: none repeat scroll 0 0 #FFFFFF; border-radius: 10px 10px 0 0; margin: 0 0 30px; width: 725px; padding: 0 0 20px; position: relative; z-index: 100; } .section.seminars .theta_wrap { border-bottom: 1px solid #A6CBD9; float: left; … | |
I have tried to fix this problem but can't make it to work. I have intalled all the data in my computer, tried a json file (.php), but can't figure it out. I have also tried the CSV format, but it didn't work. Where is my mistake? This is from … | |
Hi guys, I'm working on a shopping cart and I'm having some difficulties with a concept. Basicly, I remove two articles in a certain condition and it works perfectly. My problem is that I want to redirect the user instantly if these two articles are removed from the cart. When … | |
validations for dynamic appended text fields using jquery validation plugin..!(bassistance plugin). is this possible. please give me an idea. ![]() | |
Hi all want to change the animate property of jquery now it is animating from left to right but i want to fade in effect to replace function which i use function goto(id, t){ $('#swiper').animate({"left": -($(id).position().left)}, 2000); } ![]() | |
http://jsfiddle.net/tearex/AXQx4/ regardless of which button is pressed, the returned value is the same. How to correct the condition? | |
Hi All - I am trying to modify the below script. Currently on page load the page will display the click image and the message in the dialog box. What I want to do is do it the opposite and just have the click image display and on click the … | |
I was wondering if anyone could provide me a complete example with html tags and all of javascript or jquery that can load an html table with local files directly on my c drive? Sorry Ive been searching online all night and could not find anything. ![]() | |
Hi, I am facing when I drag object in jquery. Description: I have a Div Maindiv in this div there is mupltiple divs inside it as inner content with absolute position and z-index. Problem is this when i drag any object the dragged object goes some divs upper and shows … ![]() | |
Having these questions and answers hard coded. I want to be able to read them from a text file and load the arrays questions with questions from questions.txt while also read answers array from answers.txt. but at the same time maintain my data structures used. How should I go about … | |
http://codecanyon.net/item/ajax-contact-form/full_screen_preview/50846 I bought this contact form that validates and produces a message when its complete. The validation messages are all in with the form. But when I try to integrate it into my page "contact.html", the validation messages popup in a new window "contact.php" and I dont know how to … | |
I have a script that loads in content using jquery. With the popstate/pushstate function everything is working beautifully, when they click on navigation links. But I also have some a href tags on one of the loaded pages for sliding down to anchor points on the page. This seems to … ![]() | |
I have this code here and I need to know how to make it randomize the amoutn of images there are: Currently it shows the images, and uses a cookie so the image doesnt show up more than it needs to, but i need to randomize the image order instead … | |
Hi everyone, I'm working in a project where its required a dynamic insertion of a grup of 3 textfields where one hiels dates. So far I manage to do the insertion part, but Im still with the problem of jquery datepicker only working right on the first(original) textfield. I notice … | |
I tend to receive the following error message when I view the site in IE 9: HTML1524: Invalid DOCTYPE. The shortest valid doctype is "<!DOCTYPE html>". activate.html, line 1 character 1 SEC7113: CSS was ignored due to mime type mismatch style.css I include herewith the html code: <!DOCTYPE html PUBLIC … | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Webpage</title> <link href="page.css" rel="stylesheet" type="text/css" media="screen" /> <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script> <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" /> <link href="test.css" rel="stylesheet" type="text/css"/> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> <script type="text/javascript" src="date_ime.js"></script> <link rel="stylesheet" media="screen, print, handheld" type="text/css" href="calendar.css" /> … ![]() |
The End.