15,688 Topics

Member Avatar for
Member Avatar for Julia25

i hired a developer to customize a wordpress template, it seem ok but when i use certain feature in the template it show a small broken image above the main image, when i right click to open image in new tab it has this "Invalid src mime type:" and i …

Member Avatar for gon1387
0
138
Member Avatar for gopi17

Heyy...i'm trying to save the attachment file location in mydb...the thing is it's just saving the file name eg.database.txt i want it to look like this C:/bla/bla/test my codes addtask.php <html> <head> <title>Task Management System</title> <link rel="stylesheet" href="Appcss.css" type="text/css"/> <script src="datetimepicker_css.js"></script> <script type="text/javascript"> // Javascript function which takes care for …

Member Avatar for Biiim
0
328
Member Avatar for brave_demo

<?php //email signup ajax call if($_GET['action'] == 'signup'){ mysql_connect('localhost','root',''); mysql_select_db('newsletter'); //sanitize data $email = mysql_real_escape_string($_POST['signup-email']); //validate email address - check if input was empty if(empty($email)){ $status = "error"; $message = "You did not enter an email address!"; } else if(!preg_match('/^[^\W][a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)*\@[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)*\.[a-zA-Z]{2,4}$/', $email)){ //validate email address - check if is a valid …

Member Avatar for brave_demo
0
418
Member Avatar for syria718

$('#SaveProfile').bind("click", function(){ var pass_entered = $('#pass_entered').val();; var access = false; //check for the password entered if correct $.ajax({ type:'GET', url:'../process/passProtectionCheck.php', dataType:'json', data:{password:'pass_entered'}, success:function(e){ access = $(e).val(); if(access != true){ //if password is wrong notify user!! alert('Password Entered is Incorrect Data cannot be Save'); }else{ //if password is correct save data …

Member Avatar for radhakrishna.p
0
223
Member Avatar for techyworld

Hi i've done a progress bar in javascript. but i dont know how to do the mapping.that is map it to a percentage. the lenght of my progress bar is 260. Can someone help?

Member Avatar for Biiim
0
132
Member Avatar for smepperson

Hi, I have the following code for a potential handlbars.js tmpl. It compiles correctly at tryhandlebarsjs.com however when I attempt to open the file independently in a browser the default text in the div is the only thing that renders. I know my .json call is wrong but I cannot …

Member Avatar for smepperson
0
426
Member Avatar for diafol

Hi All, Just to say that I've searched DW and Google extensively before posting here. Also looked at the jQuery site, but failed to find exactly what I'm looking for. Anyway here's the thing: I have a button on a form, that when it's pressed inserts some new inputs (textboxes) …

Member Avatar for diafol
1
244
Member Avatar for jackparsana

Hello, pls help me to do this. i m saving my image in php mysql and retriving with js - base64 i cant get code exactly. i m retriving. like this code <img src="LzlqLzRBQVFTa1pKUmdBQkFRQUFBUUFCQUFELzJ3.....<continue code>" /> I want src like below: <img src="data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAA />

Member Avatar for gon1387
0
653
Member Avatar for davy_yg

<html> <script type="text/javascript"> g_calendarObject = new JsDatePick({ useMode:1, isStripped:true, target:"aFieldId", cellColorScheme:"armygreen" }); g_calendarObject.setOnSelectedDelegate(function(){ var obj = g_calendarObject.getSelectedDay(); alert("a date was just selected and the date is : " + obj.day + "/" + obj.month + "/" + obj.year); }); </script> <h4>STOCK RECORDING SYSTEM</h4> <form action="action.php" method="post"> <table border="0" width="200"> <tr> …

Member Avatar for AARTI SHRIVAS
0
228
Member Avatar for jasonmark238

Hi friends, What is FieldSet in javascript. Please explain its syntax and usage in general. Please help me.

Member Avatar for radhakrishna.p
-1
78
Member Avatar for ramkrishna.dhakad

I am working on a project which is having jquery driven menus.but it is not working- the code is $(function(){ $('a#home').click(function(b){ b.preventDefault(); $.cookie('class','home'); }); $('a#write').click(function(c){ c.preventDefault(); $.cookie('class','write'); }); $('a#comments').click(function(d){ d.preventDefault(); $.cookie('class','comments'); }); $('a#medias').click(function(e){ e.preventDefault(); $.cookie('class','medias'); }); $('a#users').click(function(f){ f.preventDefault(); $.cookie('class','users'); }); $('a#stats').click(function(g){ g.preventDefault(); $.cookie('class','stats'); }); $('a#settings').click(function(h){ h.preventDefault(); $.cookie('class','settings'); }); $('a#backup').click(function(i){ i.preventDefault(); …

Member Avatar for diafol
0
203
Member Avatar for riahc3

Hello I want to create a button that when the user clicks on it, the browser goes automatically fullscreen. It would be for mainly IE9 and I use for the rest of the browsers the HTML5 fullscreen API. Thanks

Member Avatar for diafol
0
226
Member Avatar for $ay_$andy

hello, i m trying to call java function from javascript. i want to pass js variable as a parameter to java function. pls anyone help me how can i do that..?? thank you..

Member Avatar for ruchi18
0
289
Member Avatar for randomkid73

I'm attempting to make a web-based scheduling system, but I'm having trouble figuring out how to make it work in the best manner. First, the current table structure: **shifts** Shift_ID (pk) Event_ID (fk) Dept_ID (fk) Start End **shifts_assigned** Entry_ID (pk) Shift_ID (fk) User_ID (fk) DateAssigned Position Notes Where pk is …

Member Avatar for randomkid73
0
264
Member Avatar for rohit.khurana

Is creating mobile apps with Jquery mobile a good technology..? Is it in trend..Please i am a newbie to it..tell me the pros and cons of using it..And if not this then what technology should we master if to build mobile apps..All suggestions are welcomed..!!

Member Avatar for peter_budo
0
95
Member Avatar for soapyillusion

Hey all Im have trouble passing this jquery functions results thru an ajax call. I want this function: $('.sidebar_bookmark_linkrel1').attr('href') to pass as string, any ideas?

Member Avatar for soapyillusion
0
127
Member Avatar for brugernavn

Hello :D Im 100% noob to javascript.. now, i have this script: <script> if(navigator.geolocation) { navigator.geolocation.getCurrentPosition(function(position) { document.write(position.coords.latitude + '_' + position.coords.longitude); }); } </script> and i need to send the location data to a php script.. Is there any easy and smart way to do souch things? The easy …

Member Avatar for NardCake
0
189
Member Avatar for Umesh17_89

Hello ! I have 2 divs in my webpage. One div has links (using anchor tag). When I click on the link, I want the webpage in href url to open in other div. Can I do it using Javascript. Regards -Umesh

Member Avatar for sujeshmarar1
0
2K
Member Avatar for Violet_82

Hi all, I was looking into determine the size of some text on 2 websites (basically it is 2 websites a dev and a live copy and I wanted to determine whether they are the same on every browser) and because I couldn't find a way to do that in …

Member Avatar for Violet_82
0
147
Member Avatar for Monstette

Having problems with my add button, it works . . . when it wants to. its OK when adding but when trying to add after deleting it gets moody and doesn't work. I didn't use a loop but there's a counter for the sake of the IDs cause i will …

Member Avatar for kanna443
0
984
Member Avatar for cloud09

I have an input that renders completely weird in IE8 - the issue fixes itself however as soon as you enter something into the input. The input is not floated. When the page loads, the entire input, except the actually text in the input are moved down and right by …

Member Avatar for Wagaweze
0
161
Member Avatar for RazorRamon

Ok I dunno why this isn't working. The alert outside the droppable says 0 but the alert inside the droppable says undefined. Anybody have an idea as to why? I want to start keeping a running count to when a person drops an object into the match div. I dont …

Member Avatar for Airshow
0
677
Member Avatar for Violet_82

Hi guys, if you have an anonymous function sitting within an each function and I would like to use the this parameter within the anonymous function, how would I do it? Currently it returns an error saying `"SyntaxError: missing formal parameter setTimeout(function(this){"`. I am trying to apply a delay of …

Member Avatar for Violet_82
0
141
Member Avatar for mr0277

I have a div, absolutely positioned, originally non-visible that is shown at the position of an element icon (in elements listing) being clicked rendering its preview (top position of the preview is lined to the top of the icon clicked). When the element being clicked is positioned low on the …

Member Avatar for gon1387
0
253
Member Avatar for riahc3

Hello I have a combobox which has some values. When I click on it and select a item (with my mouse, for now) I want to get those values. Im not sure if its mousedown or comboboxchange or how its called. Now Im a completely noob when it comes to …

Member Avatar for Taywin
0
200
Member Avatar for jacob21

How to make HTML Page Full screen?? With "full screen" I mean that it should take all the space of user's screen,just like when we watch a video with the full screen model. I do not want the task bar/menu bar of the browser window display. Any suggestions??

Member Avatar for jacob21
0
6K
Member Avatar for 86fallen#2019!

Hello friends! I have 2 problems! I built an e-shop local and... 1) when I add a product and then publish it, it doesn't appear in it's category. Does anyone have an idea about what might goes wrong? 2) Sometimes, when I either click "Save" or "Save & Close" buttons …

Member Avatar for 86fallen#2019!
0
139
Member Avatar for ayat abukhadra

Hello, Is there's a way to detect the browser re size on the client side using the java script ? Thanks in advance for helping =)

Member Avatar for ayat abukhadra
0
82
Member Avatar for riahc3

Hello By the way Javascript works Im not sure if this is possible but I would like to debug Javascript much like debugging C# or/and Java; I put a breakpoint in a line and press (for example) F5 so it goes to the next line/function and pauses and keeps going …

Member Avatar for riahc3
0
250
Member Avatar for barnamah

Hi, I haved a form where elements in a rows can be added by clicking on "Add item". Once the item is added, use can remove that item by clickon on the "remove" link. One of the fileds in the row has integer value and I want to added the …

Member Avatar for gon1387
0
228

The End.