15,127 Topics

Member Avatar for
Member Avatar for diei.nnaemeka

am trying to launch a file embbeded in a pdf document. with java script can anyone write a code

Member Avatar for diei.nnaemeka
0
140
Member Avatar for patk570

I have a form that is very basic, I have 2 fields that call for the hidden input select using a basic JS, what I want to know is if there is a way to make it hide again when they select something different. Here is my JS: <script type="text/javascript"> …

Member Avatar for patk570
0
207
Member Avatar for Renukavani

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 …

Member Avatar for patelkisankumar
0
1K
Member Avatar for pars99

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 …

Member Avatar for pars99
0
370
Member Avatar for websponge

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 …

Member Avatar for JorgeM
0
125
Member Avatar for mattsheets

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 …

Member Avatar for mattsheets
0
230
Member Avatar for Captain119

Hello everyone! Webdesign isn't my thing but i know enough to help maintain a website for a church, it is a small scale and all i do is post events and upload pictures. a few days ago the site's ftp account got hacked and all the files been modified. i …

Member Avatar for Captain119
0
244
Member Avatar for rosstafarian

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 …

Member Avatar for stbuchok
0
350
Member Avatar for javalover

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 …

Member Avatar for LastMitch
0
385
Member Avatar for edwin.thomson1

I want vertical menu with More or Less option same like in http://www.bayt.com/en/international/jobs/ I tried to find out.. but no luck..

Member Avatar for pixelsoul
0
153
Member Avatar for Cravver

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?

Member Avatar for Cravver
0
161
Member Avatar for hallianonline

Hello I need a little animation on my websitewith jquery I have two text divs (Text 1 and Text 2) of same size now i want to animate them I want to display the Text 1 for 10 seconds and then it will fade out permanently and only display Text …

Member Avatar for Troy III
0
125
Member Avatar for sumangala

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: …

Member Avatar for atulsavaliya
0
251
Member Avatar for Junior Coder

Hello, I am trying to have a calendar in my site which should have below functionality: 1. Select a year from 2013 to 2023 from a given calendar. 2. Once a year is selected (ex-2013), 12 links displayed as Jan, Feb, Mar, Apr.... Dec. 3. Once a month is clicked …

Member Avatar for radhakrishna.p
0
162
Member Avatar for sherif.sobhy.37

$name = $_POST['name']; $image = $_FILES['image']; $location = $_POST['location']; $category = $_POST['category']; $username = $_POST['username']; //$imageData =addslashes (file_get_contents($_FILES['image']['tmp_name'])); $imageData =addslashes (file_get_contents("http://zbatny.info/HOOT/amsek/prob/5.jpg")); $image =$_FILES['image']['name']; $type=$_FILES['image']['type']; $file_tmp=$_FILES['image']['tmp_name']; if(!is_writable("../../images/")) echo('You cannot upload to the specified directory, please CHMOD it to 777.'); if(move_uploaded_file($imageData,"../../images/".$image)) { //Tells you if its all ok echo "The file ". …

Member Avatar for Meir David
0
348
Member Avatar for Olyboy16

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 …

Member Avatar for Troy III
-1
204
Member Avatar for while(!success)

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 …

Member Avatar for while(!success)
0
368
Member Avatar for rook0316

I have tried many different scripts I have found but cannot find one that does exactly what I am looking for. I have a table that has parts with multiple characteristics. Part Number, Height, Width, Capacity, Price, Etc. I would like to have a drop downs for all of these …

Member Avatar for pankaj12290
0
8K
Member Avatar for vishal.du123

<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"> …

Member Avatar for radhakrishna.p
0
170
Member Avatar for winbala5

Hi all, I want to share one link to tumblr and also i want to calculte the number of views, likes, posts, shares, followers. How i need to get this all give me any reference or possible ways tel to me.

Member Avatar for winbala5
0
193
Member Avatar for joshi_6in

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 …

Member Avatar for joshi_6in
0
282
Member Avatar for sonicx2218

Had a question before that was partially solved. I'm having trouble getting just one part of it to work. preload = new Element('iframe', { 'src': URL, 'id': mediaId, width: mediaWidth, height: mediaHeight, scrolling : 'no', 'frameborder': 0 }); preload.style.visibility = 'hidden'; startEffect(); } So my issue is the preload.style.visibility = …

Member Avatar for Troy III
0
220
Member Avatar for chriswelborn

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 …

Member Avatar for Troy III
0
237
Member Avatar for davidjennings

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_',''); …

Member Avatar for EvolutionFallen
0
229
Member Avatar for McLaren

Hello, lets say I have to collections - x and y. I know that - when first collection is updated, the second collection has new data and also needs to be updated. So I now did x.fetch and y.fetcg which generates 2 ajax queries. BUt such things when I used …

Member Avatar for McLaren
0
132
Member Avatar for dekimpebart

Hello, I’m trying to make a infinite scrolling gallery. I’ve managed to get the data trough ajax and the infinite-part works perfectly. Only when I apply Isotope http://isotope.metafizzy.co/index.html to make it look good it won’t apply the css and the pictures just come behind the ones that are already there. …

Member Avatar for dekimpebart
0
218
Member Avatar for saurabh2007

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; …

Member Avatar for davidjennings
0
304
Member Avatar for moone009

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 …

Member Avatar for iamthwee
0
5K
Member Avatar for coderBie

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 …

Member Avatar for iamthwee
0
2K
Member Avatar for suavedesign

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 …

Member Avatar for iamthwee
0
2K

The End.